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
Hi there! How can I clear seleted value? I'm tried to set value={this.state.image} and then to set it to null, but it doesnt work.
value={this.state.image}
The text was updated successfully, but these errors were encountered:
You can do this explicitly like this without React:
document.getElementsByName("myImage")[0].value = ""
Sorry, something went wrong.
it's better to do
uploadHandler(event) { if (error) event.target.value = ''; }
I guess.
No branches or pull requests
Hi there!
How can I clear seleted value? I'm tried to set
value={this.state.image}
and then to set it to null, but it doesnt work.
The text was updated successfully, but these errors were encountered: