Properties

required

If the value is required or not. Defaults to false

required: boolean

valueKey

Need to know the value key. Defaults to 'value'

valueKey: string

entryToValue

Custom function to map an entry object to a value for use in FormData. By default will use valueKey to get a storage id from the entry.state, else will return entry.file if set.

entryToValue?: (entry: FilePondEntry) => File | string | void

onChange

Called when formdata object changed. Defaults to undefined

onChange: (currentValues: unknown[]) => void