Y
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
elliotec
3041 days ago
Do you mind expanding on this a little? Or linking to a documentation or something
link
NoInkling
3041 days ago
I think he/she essentially means using an uncontrolled input instead of a controlled one.
https://reactjs.org/docs/uncontrolled-components.html#defaul...
link
elliotec
3041 days ago
Thanks!
link