All Components

FileValidation

Configures the validation options for the uploaded files.

allowedExtensions Array<string>

Lists which file extensions are allowed for upload. Recognizes entries of both .type and type values.

maxFileSize number

Defines the maximum file size in bytes that can be uploaded.

minFileSize number

Defines the minimum file size in bytes that can be uploaded.

In this article