<FileInput name="myImages" accept=".png,.gif, .jpeg" className="chat-file-upload" placeholder="Upload Image" onChange={this.uploadFileToChat} multiple readAs='binary' > </FileInput>
If you try to upload same file again then it won't detect onChange event. Can you please add some method like ClearInput which will clear this input value?
Thanks!
<FileInput name="myImages" accept=".png,.gif, .jpeg" className="chat-file-upload" placeholder="Upload Image" onChange={this.uploadFileToChat} multiple readAs='binary' > </FileInput>If you try to upload same file again then it won't detect onChange event. Can you please add some method like ClearInput which will clear this input value?
Thanks!