diff --git a/packages/dnb-eufemia/src/extensions/forms/Field/Upload/UploadDocs.ts b/packages/dnb-eufemia/src/extensions/forms/Field/Upload/UploadDocs.ts index 0fdfe4b5949..84fb5c9dda2 100644 --- a/packages/dnb-eufemia/src/extensions/forms/Field/Upload/UploadDocs.ts +++ b/packages/dnb-eufemia/src/extensions/forms/Field/Upload/UploadDocs.ts @@ -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`).', + type: 'function', + status: 'optional', + }, ...UploadProperties, title: undefined, text: undefined,