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

Allow input file (multiple uploads) to be used outside of shadow forms. #176

Open
Aldus83 opened this issue Oct 29, 2018 · 0 comments
Open
Labels
$ bounty $ Used for issues that will be paid by the Quanta sponsors upon solved bug enhancement files management help wanted shadow $75
Projects

Comments

@Aldus83
Copy link
Collaborator

Aldus83 commented Oct 29, 2018

At the moment, the [INPUT|type=file] field, being used for drag & drop / multiple file uploads, can only be used inside a Shadow form.
This happens because the javascript needed by this input is loaded inside an invisible shadow tab:

https://github.com/quantacms/quanta/blob/master/engine/modules/core/node/tpl/node_data.inc

We need to make this more consistent, so that:

  • the JS is loaded when there is an actual [INPUT|type=file], independently from where it's called
  • the JS is never loaded two times
@Aldus83 Aldus83 added this to the File management made easy milestone Oct 29, 2018
@Aldus83 Aldus83 added $ bounty $ Used for issues that will be paid by the Quanta sponsors upon solved $75 help wanted labels Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$ bounty $ Used for issues that will be paid by the Quanta sponsors upon solved bug enhancement files management help wanted shadow $75
Projects
Quanta
  
Awaiting triage
Development

No branches or pull requests

1 participant