Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 8, 2016

Conversation

sebmarkbage
Copy link
Collaborator

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