Documentation

fileType

String

false

The type of files allowed for upload.  This is taken from the file’s mime type.  To allow all images, set this option to ‘image’.  To allow a specific type of image, set this option to ‘image/png’.  To allow all images, set this value to false.  This option will also accept a JSON array to allow a specific set of fileTypes.

Demo