Problem/Motivation
We would like to make changes to the media entities *before* they are shown to the user (like filling out the name field for example). The problem is that the CREATE event is only fired when submitting the filled out forms which I think is actually a bit inconsistent with the other widget but we can't change that now as people might rely on that behavior.
Proposed resolution
Add a new event, trigger that in submitEdit()
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | dropzonejs-ief-precreate-2959784-4.patch | 3.02 KB | berdir |
| #3 | dropzonejs-ief-precreate-2959784-3-interdiff.txt | 1.17 KB | berdir |
| #3 | dropzonejs-ief-precreate-2959784-3.patch | 3.01 KB | berdir |
| #2 | dropzonejs-ief-precreate-2959784-2.patch | 2.21 KB | berdir |
Comments
Comment #2
berdirComment #3
berdirSwitching media types during upload is a gift that just keeps on giving. Now the submit() can fail because the source field might be different for the different media entities.
Comment #4
berdirRerolled.
Comment #7
primsi commentedCommitted, thanks!