pqina / react-filepond

🔌 A handy FilePond adapter component for React
https://pqina.nl/filepond
MIT License
1.87k stars 91 forks source link

[Feature] Hide files with error #235

Open nathanguigui opened 1 year ago

nathanguigui commented 1 year ago

Is there an existing issue for this?

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
rikschennink commented 1 year ago

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

nathanguigui commented 1 year ago

Yes it should be a solution