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
@svale Sorry for late reply. I have made it work but I forgot to keep the working codes. I'm still using the same uploader in my current project and going to give a try again and let you know how that goes. 🤞
I also came across this issue. If you add more than one instance and pass the id props as mentioned in the docs, you see the default HTML file upload button and the custom upload button will not work. This is because the input label gets the id fileInput by default but if you pass id as a prop, this new id is assigned to the input label.
To fix this you will need to change the for attribute on the label corresponding to the id that is passed as props. For example:
I have to have two upload buttons in the same page.
An example would be
However, If we have two instances of the Image uploader even with different ID's as recommended, uploader does not work
The text was updated successfully, but these errors were encountered: