We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onManageMetadata: async (item) => { let currentCaption = item.getMetadata('caption'); let newCaption = window.prompt('Edit file caption', currentCaption); if (newCaption && newCaption != currentCaption) { item.setMetadata('caption', newCaption); } },
I'm using filepond through another project https://github.com/filamentphp/filament and have a file that is already on the server.
When I add the code above and try to setMetadata, the icon duplicates. A video here to make explanation easier https://imgur.com/a/ylKLwGz
setMetadata
Any idea what the cause might be?
The text was updated successfully, but these errors were encountered:
filepond-plugin-manage-metadata/src/js/index.js
Lines 47 to 51 in b5878ee
I changed DID_LOAD_ITEM to DID_INIT_ITEM and the issue is no longer there. I can't find any documentation on DID_xxx at all. Which one should it be?
DID_LOAD_ITEM
DID_INIT_ITEM
DID_xxx
Sorry, something went wrong.
No branches or pull requests
I'm using filepond through another project https://github.com/filamentphp/filament and have a file that is already on the server.
When I add the code above and try to
setMetadata
, the icon duplicates.A video here to make explanation easier https://imgur.com/a/ylKLwGz
Any idea what the cause might be?
The text was updated successfully, but these errors were encountered: