React Textarea With Value Is Readonly But Need To Be Updated
I have a textarea in my React app who is filled with a value. I want this textarea to be updated and the form submited to update the row in the database.
Solution 2:
If you're finding using the onChange event too slow, you can simply read from the DOM in the submit handler using refs. An example is shown here:
https://facebook.github.io/react/docs/tutorial.html#adding-new-comments
Since you're using redux, you can probably export a lot of that functionality to an action creator.
Post a Comment for "React Textarea With Value Is Readonly But Need To Be Updated"