Logo-amall

Uploading multiple files

Last active 2 days ago

9 replies

0 views

  • DC

    Hello,

    Is there a method to upload multiple files at a go?

    I'm currently using a for loop to upload multiple files. The issue I'm facing is that the upload function returns the same id.

  • FA

    did you find a solution for this?

  • DE

    Did you check te docs? Or the nhost package? There is a multiple upload method

  • FA

    how do you even use it? https://docs.nhost.io/reference/react/use-multiple-files-upload

  • FA

    but it doesnt return any responses and wont upload

  • EL

    @dc_dalin I think this bug was solved in a previous fix. Can you check that you have all the latest versions for all @nhost/* packages and try again?

  • EL

    Fixed here: https://github.com/nhost/nhost/issues/865

  • DC

    Yes, thanks to @Dennis , I used useMultipleFilesUpload() method and it got the job done.

  • DC

    Thanks, all good now

Last active 2 days ago

9 replies

0 views