Properties

required

required: boolean

If the value is required or not. Defaults to false

valueKey

valueKey: string

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

entryToValue

entryToValue?: __type

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.

onChange

onChange: __type

Called when formdata object changed. Defaults to undefined