I'm trying to execute some code if a user decides to cancel their file selection using ng-flow, via a Upload File button. I don't know how to catch this event
I've tried using flow-file-error and flow-error directives to no avail. The code I pass in does not execute
<div flow-init="{target: '/api/InternalToolsDataSource/Incentive/Flow'}"
flow-name="obj.flow"
flow-files-submitted= "mapper.uploadFile($flow)"
flow-file-success="mapper.uploadSuccess($file, $message)"
flow-files-error="mapper.handleUploadError($file, $message)"
flow-error="mapper.handleUploadError($file, $message)"
flow-file-complete="alert('complete')">
I want to find a solution to be able to execute a function after the file selection process is cancelled through the external window that pops up. Thoughts?