Hey
I would like to create a custom block with frontend view for a files section.
Only requirement: It should be possible to sort the files via this view.
Does anyone have a working example for this?
I’ve tried:
<k-files-field layout="cards" v-model="files" name="files" label="Files" @input="update({ content_gallery: $event })" v-bind="field('content_gallery')" />
This kind of works, but as soon as I save and reload the page, the field is empty, but the changes have been applied.
(When I click on »Edit Block«, I see that the changes have been applied, but not displayed).
Thank you!