Optional
allowExtensionlessAttachments?: booleanOptional
defaultValue?: unknownOptional
maxEntries?: numberOptional
maxFileSize?: numberOptional
minEntries?: numberOptional
restrictedFileTypes?: string[]Required if restrictFileTypes
is true
. File types must be file
extensions without the dot at the beginning. For example:
Optional
restrictFileSize?: booleanIf true
, will prevent the user from uploading files that exceed the
value set in maxFileSize
.
If true
, will restrict the types of files a user can upload based on
the file extensions set in restrictFileTypes
.
Required if
restrictFileSize
istrue
. The maximum size (in Megabytes) that an individual file can be