react-filepond icon indicating copy to clipboard operation
react-filepond copied to clipboard

[Feature] Hide files with error

Open nathanguigui opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe.

I'm currently using filepond with the filepond-plugin-file-validate-type plugin. When file is uploaded and not valid, it's displayed in the list of file.

Capture d’écran 2023-04-25 à 17 08 48

Describe the solution you'd like

I would like to have an option to hide files with error in the list. For instance directly in the props of the FilePond

Describe alternatives you've considered

I tried to hide the file when it's in error state but the wrapper is not resizing even if I delete the html node Capture d’écran 2023-04-25 à 17 10 51

nathanguigui avatar Apr 25 '23 15:04 nathanguigui

It should update correctly if you remove files that are in error state?

rikschennink avatar May 04 '23 07:05 rikschennink

Yes it should be a solution

nathanguigui avatar May 04 '23 09:05 nathanguigui