How to specify restricted types of uploaded files ?

Hello!

By default, Uploader provides a posibility to upload files of any type.

How can I specify restricted types of uploaded files ?

Thanks in advance for your reply!

Hello Alexander,

You can use the onBeforeFileAdd event to prevent from adding these or those files to the uploader body and hence prevent them from being uploaded.

Try adding non-images in the snippet: http://webix.com/snippet/f0129260

Helga, thank you!

In C# I can set the filetype filter, so instead of show ‘All files’ in filetype, I got a ‘cleaner’ dialog box.
Is there a way to do the same with webix file dialog?

Nope, there is no way to alter the dialog box from javascript.
You can only provide some custom reaction on file selection ( onBeforeAdd event )