Open JuanHeis opened 1 year ago
If you put the inside in a Form tag. Images cannot loaded if you click in the button. Drag and drop works fine
Always attach your code. Why is there a click event on the form?
Call preventDefault on submit form event, before calling onImageUpload.
If you put the
inside in a Form tag. Images cannot loaded if you click in the button.
Drag and drop works fine