react95-io / React95

🌈🕹 Windows 95 style UI component library for React
https://react95.io
MIT License
6.65k stars 185 forks source link

Video player throws onChange handler error in React 18 Vite #389

Closed snivets closed 1 year ago

snivets commented 1 year ago

Hey - new to React. Trying to use the Video component exactly as is used in Storybook in a new React 18 Vite project, and run across this error: Warning: You provided avalueprop to a form field without anonChangehandler. This will render a read-only field. If the field should be mutable usedefaultValue. Otherwise, set eitheronChangeorreadOnly.. What is going on under the hood here?

The code is the following: <Video w="320" src="https://media.w3.org/2010/05/sintel/trailer_hd.mp4" style={{ marginBottom: 4 }} />

arturbien commented 1 year ago

@snivets I think you were suppose to submit the issue here: https://github.com/React95/React95

There's two React95 libraries and ours doesn't have the Video component 🤓

snivets commented 1 year ago

Dangit, silly me. Thanks for the friendly correction. Why are there two libraries btw, is there a feud? :joy: In case anyone ever arrives here from Google: https://github.com/React95/React95/issues/409