Hacker News new | ask | show | jobs
by Cyranix 3041 days ago
I believe using `defaultValue` instead of `value` would be an appropriate remediation.
1 comments

Do you mind expanding on this a little? Or linking to a documentation or something
I think he/she essentially means using an uncontrolled input instead of a controlled one.

https://reactjs.org/docs/uncontrolled-components.html#defaul...

Thanks!