-
Notifications
You must be signed in to change notification settings - Fork 49.3k
Closed
Description
Calling setState()
for uncontrolled textarea
, does not lead to the expected result. In the example http://jsfiddle.net/c88aK/ pressing the button Reset state
should reset the state of the input fields to their default values. Element input
is resets as expected, textarea
not. In the debugger, method textarea .render ()
gets the correct initial data, but changes in the DOM does not occur.
Is this a bug in the implementation of the textarea.render()
or I do not correctly understand the essence of uncontrolled input fields?
In any case, as I should reset the value of textarea
on the initial state?
Metadata
Metadata
Assignees
Labels
No labels