Set files metadata through FilePond.create
See original GitHub issueHey its me again! 😄
I have another enhancement request. All files which go through my FilePond implementation have a payload
which is essentially the file metadata
. This metadata
lives alongside the file ALWAYS and it provides some extra information which changes the way the file is displayed.
It would be really nice if I could set the metadata
of the file through the instance creation with FilePond.create(...)
. Currently there is the files
option holding an array of objects in the format:
{ "source": "server-unique-id", "options": { "type": "'limbo' | 'local' | 'input'" } }
Maybe pass something like this:
{ "source": "server-unique-id", "options": { "type": "'limbo' | 'local' | 'input'", "metadata": { "some": "object" } } }
Which would create the File
and set its metadata
immediately.
What do you think?
Kind regards, Denis
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
File metadata - Easy File Uploading With JavaScript | FilePond
File metadata. The File Metadata plugin makes it possible to add initial metadata to file objects without using the file item setMetadata method....
Read more >filepond post image with metadata - javascript - Stack Overflow
If you're not going to write a custom server.process method then you're going to have to "remember" which metadata belongs to which file....
Read more >Filepond-plugin-file-metadata NPM - npm.io
The File Metadata plugin makes it possible to add initial metadata to file objects without using the file item setMetadata method. Add metadata...
Read more >Creating a Filepond component using Blade, Livewire ...
Install Spatie Media Library. Set up a model to associate a media collection with. Validate our file request. Add validation error text to...
Read more >filepond-plugin-file-metadata examples - CodeSandbox
Learn how to use filepond-plugin-file-metadata by viewing and forking example apps that make use of filepond-plugin-file-metadata on CodeSandbox.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm that both: setting
metadata
and the exposedfile-info
work nice.Just published version
1.8.0
, secretly added thecreateView
filter in file-info. Now updating docs and plugins.Release info: https://twitter.com/rikschennink/status/1009036630307540993