Validation

The uploader component validate the selected files extension and size using the allowedExtensions,
minFileSize and maxFileSize properties.
The files can be validated before uploading to the server and can be ignored on uploading.
Also, you can validate the files by setting the HTML attributes to the original input element.
The validation process occurs on drag-and-drop the files also.

File type

You can allow the specific types of files alone to upload using the allowedExtensions property.
The extension can be represented as collection by comma separators. The uploader component
filters the selected or dropped files matched against the specified file types and processes the
upload operation. The validation happens when you specify value to inline attribute accept to original input element.

File size

The uploader component allows you to validate the files based on its size.
The validation helps to restrict uploading large files or empty files to the server. The size can be represented in bytes.
By default, the uploader component allows you to upload minimum file size as 0 byte and
maximum file size as 28.4 MB using using minFileSize and maxFileSize properties.

Maximum files count

You can restrict uploading the maximum number of files using the selected event. In the selected event arguments,
you can get the currently selected files details using the getFilesData().
You can modify the files details and assign the modified file list to the eventArgs.modifiedFilesData.

Duplicate files

You can validate the duplicate files before uploading to server using the selected event.
Compare the selected files with the existing files data and filter the file list by removing the duplicate files.