Auto-populate the name field before sumitting the Create Media form #567
Closed
PaulKiddle
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
The problem is that if it is not using preserveFileNames then there isn't a name until it is saved, since the file gets renamed to a hashed value. Might be easier to rename the files before uploading them, if that's feasible. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be really useful if the Create Media form's
name
field could be made visible and prepopulated in the file uploader'safterStateUpdated
hook, so that users can edit thename
before the submit the form.The majority of our images have extra numbers at the end of their filenames, so this would save up to 50% of form submissions in our workflow.
Beta Was this translation helpful? Give feedback.
All reactions