uploadFile
fires when a file has been uploaded
uploadFile: (value: object, extra?: { [key: string]: string }) => void;
Parameters:
value: object
- the current value of the controlextra: any
- the server response
Example
form.getItem("avatar").events.on("uploadFile", (value, extra) => {
console.log("uploadFile", value, extra);
});