We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using <option selected="..."> is the standard way to set a value on a <select> component. Yet, React uses another convention: http://facebook.github.io/react/docs/forms.html#why-select-value
<option selected="...">
<select>
We should add a warning when the value is being set on the <option> and tell the developer to put value on the <select> in DEV.
<option>
value
Example: http://jsfiddle.net/vjeux/LT6Bw/
The text was updated successfully, but these errors were encountered:
selected, you mean.
selected
Sorry, something went wrong.
There's already a warning in fact ... Closing this one out.
Codegen TValue are just Expressions (#839)
df58546
No branches or pull requests
Using
<option selected="...">
is the standard way to set a value on a<select>
component. Yet, React uses another convention: http://facebook.github.io/react/docs/forms.html#why-select-valueWe should add a warning when the value is being set on the
<option>
and tell the developer to putvalue
on the<select>
in DEV.Example: http://jsfiddle.net/vjeux/LT6Bw/
The text was updated successfully, but these errors were encountered: