FileRestrictions

Configures the restrictions for the files that can be uploaded.

allowedExtensions?

Array<string>

The list of the allowed file extensions (see example). Recognizes entries of both .type (for example, .docx, .png, .svg, .xls, and others) and type (for example, docx, png, svg, xls, and others) values.

maxFileSize?

number

Defines the maximum file size in bytes (see example).

minFileSize?

number

Defines the minimum file size in bytes (see example).

In this article

Not finding the help you need?