Uppy - add meta fields

Started by Messa7 replies523 views
MessaOriginal post
#1

I noticed the capability to incorporate meta fields in your GitHub demonstration, as shown in this GIF: GitHub - transloadit/uppy: The next open source file uploader for web browsers
I’m interested in modifying filenames and including a meta field for copyright information. Could someone kindly direct me to the relevant documentation or provide a code example for accomplishing this?

Messa
#3

Sorry - I need to ask - But is there any way to shoe meta fields directly under the upload? So user don’t neet do click the edit button?

Messa
#5

@aduh95 Yeah I got that now - But is there any way to add the meta field directly under the thumbnail?
So the user don’t need to press the edit button?

aduh95
#6

@Messa could you clarify what you have in mind? I’m not sure I understand what you are trying to achieve, and why the 'file-added' event is not what you are looking for.

MerlijnTransloadit team
#7

You can’t modify the UI to include a meta field to the file card, where the file name and such is currently placed unfortunately. In the future we’d like to make composable upload components, but that’s a long-term goal.

#8

@Merlijn to Bad 😦 maybe some workaround with append() method so loading the fields after dom is loaded?

Or a custom function for a field an trigger in Keyboard File addmeta