extra data that will be sent to the server side along with the file uploading
// as an object
webix.ui({
view:"uploader",
formData:{
userid:123,
document:"attachment"
}
});
// as a function
webix.ui({
view:"uploader",
formData:function(){
return {
userid:123,
document:"attachment"
};
}
});
The data will be added to the body of a POST request with the file data.