Drupal 8 supports multiple file upload, however the native interface requires three steps:
- Select one or more files
- Click Upload
- Click Save
Ideally this could be simplified to a single step i.e. select one of more files, once done it uploads them. The user can delete a file later if they wish, but no point showing them the list of which they just select, just to make them change their mind.
How should one click upload for multiple files be implement in Drupal?
In pure PHP this can be done easily as follows (but Drupal 8 adds too many constraints for this to work):