m-inan / react-upload-gallery

React for Upload Image Gallery. Sorted by drag & drop and Customizable
MIT License
78 stars 44 forks source link

Disable automatic upload in action attribute #30

Closed zenzjtech closed 3 years ago

zenzjtech commented 3 years ago

I have tried to set action={null}, or leaving it empty, but to no avail. Is this possible to achieve this?

m-inan commented 3 years ago

@zenzjtech If you want to do the download not automatically but with a button, this prop will work for you.

<RUG
  ...
  autoUpload={false}
/>
zenzjtech commented 3 years ago

Yes it works!