pqina / react-filepond

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

Template for Preview? #205

Open tyddynonn opened 2 years ago

tyddynonn commented 2 years ago

Is there an existing issue for this?

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

I'd like to be able to have the user add some metadata for an image in the preview list, prior to upload.

In my specific use case, that would be a text input for a Title for the image, which could then be added to metadata before upload.

Seems like the easiest wat to do this might be to expose a template for the Preview renderer, or allow it to be a React component?

Describe the solution you'd like

An optional prop on the React Filepond component that allows a custom renderer for each entry in the preview list.

Describe alternatives you've considered

I can't see a way to do this with the Component & Preview Plugin as they stand.