Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

How to reset ReactJS file input

<input onChange={this.onChange} onClick={e => (e.target.value = null)} type="file" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #reset #ReactJS #file #input
ADD COMMENT
Topic
Name
4+3 =