accept

specifies particular file types that will be accepted for uploading

string accept;

Example

webix.ui({
    maxWidth:800,
    cols:[{
        view:"form", rows: [
            { 
                view: "uploader", value: "Upload Images", 
                name:"files", accept:"image/png, image/gif, image/jpeg",
                link:"mylist",  upload:"php/upload.php" 
            }
            ...         
        ]
    }]
});

Related samples

See also
Back to top