You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constuppy=Uppy({onBeforeUpload(files){for(const[key,file]ofObject.entries(files)){if(!file.meta.caption){uppyDashboard.info('File is missing caption','error')thrownewError('File is missing caption')}}}})
Not perfect but the best we have at the moment; we could add a restrictions.requiredMeta: ['array', 'of', 'names'] kinda option in the future
I would like to see an option that forces the metafield data to be entered when uploading a file.
The text was updated successfully, but these errors were encountered: