Skip to content

Commit

Permalink
docs(Field.Upload): adds asyncFileHandler property (#4288)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Nov 18, 2024
2 parents f1485ee + 7ccdabd commit fb09758
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 fb09758

Please sign in to comment.