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
value
Add value prop to an Input component
Input
<Input icon='search' placeholder='Search' value="foo"/>
Should be able to remove the predefined value
Cannot remove the predefined value
0.65.0
http://codepen.io/anon/pen/wgVKbp
The text was updated successfully, but these errors were encountered:
This is not due to SUIR but is how React itself works:
https://facebook.github.io/react/docs/forms.html
Use defaultValue if you'd like the value to be editable.
defaultValue
Sorry, something went wrong.
No branches or pull requests
Steps
Add
value
prop to anInput
componentExpected Result
Should be able to remove the predefined value
Actual Result
Cannot remove the predefined value
Version
0.65.0
Testcase
http://codepen.io/anon/pen/wgVKbp
The text was updated successfully, but these errors were encountered: