How to clear a field?
Open
- Dominant language
- JavaScript
- Stars
- 303
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
After submitting a form I'd like to clear the data.
Usually this should be enough
``` javascript
this.refs.requestForm.getDOMNode().reset();
```
But didn't work, also I tried
``` javascript
React.findDOMNode(this.refs.phone).value = '';
```
Both ways work for common inputs, but no luck with inputmask. Any suggestion ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.