FilesElement: FormElementBinaryStorage & LookupFormElement & FormElementReadOnly & { allowExtensionlessAttachments?: boolean; defaultValue?: unknown; maxEntries?: number; maxFileSize?: number; minEntries?: number; restrictedFileTypes?: string[]; restrictFileSize?: boolean; restrictFileTypes: boolean; type: "files"; } Type declaration
Optional
allowExtensionlessAttachments?: boolean
Optional
defaultValue?: unknown
Optional
maxEntries?: number
Optional
maxFileSize?: number
Optional
minEntries?: number
Optional
restrictedFileTypes?: string[]
Optional
restrictFileSize?: boolean
restrictFileTypes: boolean
type: "files"
The maximum size (in Megabytes) that an individual file can be