Skip to main content

uploadFail

fires if the file upload failed

uploadFail: (file: ISimpleVaultValue, value: ISimpleVaultValue[]) => void;

Parameters:

  • file: object - the file object
  • value: 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.