Custom upload in FileUpload

UI Components for React
Post Reply
Posts: 1
Joined: 20 Oct 2020, 15:39

20 Oct 2020, 15:52

I am using a custom upload handler with FileUpload, but after a successful upload the files aren't clearing. Any idea how to clear them myself?

Also, after moving to V5 the height of the FileUpload is not changing according to the amount of files added (am using the advanced view). Has this happened to anyone?

Posts: 4484
Joined: 29 Jun 2013, 12:38

23 Oct 2020, 15:26

You can use yourFileUploadRef.clear() method to clear all files.

Similar issue; viewtopic.php?f=57&t=63835

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest