Skip to content

Commit

Permalink
docs(Field.Upload): adds asyncFileHandler property
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed Nov 18, 2024
1 parent 6a3765b commit 7ccdabd
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import {
import { PropertiesTableProps } from '../../../../shared/types'

export const UploadFieldProperties: PropertiesTableProps = {
asyncFileHandler: {
doc: 'Asynchronous handler function that takes newly added files (`newFiles: UploadValue`) as a parameter and returns a promise containing the processed files (`Promise<UploadValue>`).',
type: 'function',
status: 'optional',
},
...UploadProperties,
title: undefined,
text: undefined,
Expand Down

0 comments on commit 7ccdabd

Please sign in to comment.