pqina/react-filepond

Property setOptions doesn't exists on filepond-plugin-file-metadata

ravivarma-dot opened this issue · 1 comments

Hi,

I'm using filepond and wanted to add some metadata to files. I installed filepond-plugin-file-metadata and followed filepond documentation but its throwing error saying setOptions doesn't exists. Please see attached image for error.

Below is the documentation I followed.
https://pqina.nl/filepond/docs/patterns/plugins/file-metadata/#usage

Thanks, Filepond is a great library.

image

The React version doesn't export the setOptions method.

You can use it like this

<FilePond fileMetadataObject={{ 'hello': 'world' }}/>