Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple file upload #11

Open
mkrecek234 opened this issue Apr 9, 2020 · 4 comments
Open

Multiple file upload #11

mkrecek234 opened this issue Apr 9, 2020 · 4 comments

Comments

@mkrecek234
Copy link
Contributor

Multiple file uploads would be appreciated (with tokens stored in a single comma-separated text file which is shown similar to a multi-select dropdown where individual files can be deleted again, and each file can be downloaded)

@DarkSide666
Copy link
Member

See https://github.com/atk4/ui/blob/develop/src/FormField/Upload.php. This one supports multiple file upload.

@mkrecek234
Copy link
Contributor Author

It says "CURRENTLY NOT SUPPORTED." and the line handling it is commented out. Any chance someone is integrating this also into atk4-filestore?

@DarkSide666
Copy link
Member

Oh, right :(

@mkrecek234
Copy link
Contributor Author

This would be the right element for a multiple file upload: https://jsfiddle.net/lubber/m9srqbco/5/
The standard dropdown without values and with a removed drop-down icon. However we would nee to add the "upload" icon to the right to add further uploads. And connect the "X delete" action to also trigger the onDelete. Furthermore a click on a filename should call an onDownload to send the file. Anyone any hint to get this implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants