Skip to content

Ensure that we're listening to all onChange dependencies for controlled inputs#8229

Merged
sebmarkbage merged 1 commit intofacebook:masterfrom
sebmarkbage:asappass
Nov 8, 2016
Merged

Ensure that we're listening to all onChange dependencies for controlled inputs#8229
sebmarkbage merged 1 commit intofacebook:masterfrom
sebmarkbage:asappass

Conversation

@sebmarkbage
Copy link
Copy Markdown
Contributor

When there is no onChange event handler, we should still listen to it to ensure controlled values get reset.

There is warning associated with this but the prod behavior should still be respected.

…ed inputs

When there is no onChange event handler, we should still listen to it to
ensure controlled values get reset.

There is warning associated with this but the prod behavior should still be
respected.
@sebmarkbage sebmarkbage merged commit a93ab6b into facebook:master Nov 8, 2016
acusti pushed a commit to brandcast/react that referenced this pull request Mar 15, 2017
…ed inputs (facebook#8229)

When there is no onChange event handler, we should still listen to it to
ensure controlled values get reset.

There is warning associated with this but the prod behavior should still be
respected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants