You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started using this library for images, but now I want to upload documents as well, and I am trying to upload the given formats
Is there any way to do it?
".doc",
".docx",
".htm",
".html",
".odt",
".pdf",
".xls",
".xlsx",
".ppt",
".pptx",
".txt"
@readeral can you please provide an example with the below given formats in accept prop?
I tried it earlier, and it is only picking up the PDF, though it is showing multiple formats while browsing, I have added a console to the onSuccess event, and it's only logging the input when I upload PDF format.
".doc",
".docx",
".htm",
".html",
".odt",
".pdf",
".xls",
".xlsx",
".ppt",
".pptx",
".txt"
If you could please provide an example with some of the above formats other than PDF? @readeral@adrians5j
@readeral, I have noticed a particular scenario. If I give all these formats to accept props then it doesn't work as it should, but when I remove the prop and do it without the prop then it is accepting all types of documents.
React-butterfiles only accepts PDF format.
I have started using this library for images, but now I want to upload documents as well, and I am trying to upload the given formats
Is there any way to do it?
".doc",
".docx",
".htm",
".html",
".odt",
".pdf",
".xls",
".xlsx",
".ppt",
".pptx",
".txt"
@adrians5j @readeral
The text was updated successfully, but these errors were encountered: