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

Add multi uploader in single form #3

Closed
symfonyluxury opened this issue Aug 12, 2012 · 2 comments
Closed

Add multi uploader in single form #3

symfonyluxury opened this issue Aug 12, 2012 · 2 comments

Comments

@symfonyluxury
Copy link

first of all I like your this bundle, it seems the first and integrated one. I just encountered a problem
how can I initiate multi uploaders within one form? That means there are many inputs and each one
has its own thumbnail list?

@boutell
Copy link
Member

boutell commented Aug 14, 2012

Add a suffix to the edit id to make each one unique, provide a placeholder element for each one, make sure your edit action syncs them both and you should be good to go. I don't see an issue here.

Even delaySubmitWhileUploading ought to work OK when registered twice for two different elements, but if the delayed submit() call doesn't trigger the second handler properly, you could just check the .uploading properties of both objects in your own submit event handler.

@boutell boutell closed this as completed Aug 14, 2012
@boutell
Copy link
Member

boutell commented Aug 14, 2012

(Feel free to reopen if you encounter a specific and reproducible bug with multiple file uploaders in the same page.)

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