uploadFail
fires if the file upload failed
uploadFail: (file: object, value: object[]) => void;
Parameters:
file: object
- the file objectvalue: array
- the current value of the control
Example
form.getItem("simpleVault").events.on("uploadFail", function(file, value) {
console.log("uploadFail", file, value);
});
Change log:
The value parameter is added in v7.0.