<FileInput /> works only once
mogadanez opened this issue · 1 comments
mogadanez commented
class ImageLoader extends React.Component<Props> {
uploader = new FineUploaderTraditional({
options: {
callbacks: {
onStatusChange:(id, status)=>{
console.log(" on submit ",id, status)
}
},
request: {
endpoint: '/uploads'
},
retry: {
enableAuto: true
}
}
})
render() {
return (
<FileInput accept='image/*' uploader={ this.uploader } multiple={false}>
Upload Image
</FileInput>)
}
}
log for first file:
on submit 0 null
on submit 0 submitting
on submit 0 submitted
on submit 0 uploading
log for next files
on submit 1 null
on submit 1 submitting
and no upload starts and no log messages
rnicholus commented
Please provide specific steps to reproduce your issue along with a detailed description of the issue.