Triggered when the user selects a file or multiple files for upload. If you cancel the event, the selection is prevented.
Arguments for the
The list of the selected files.
If the event is prevented by any of its subscribers, returns
true if the default action was prevented. Otherwise, returns
Prevents the default action for a specified event.
In this way, the source component suppresses the built-in behavior that follows the event.