grav
grav copied to clipboard
pagemediaselect with multiple in list resets value to null on save
I have a pagemediaselect in a list:
form:
fields:
tabs:
fields:
content:
fields:
header.columns:
name: columns
type: list
style: vertical
label: Kolommen
fields:
.images:
type: pagemediaselect
label: Slider-afbeeldingen
multiple: true
When I manually edit my markdown frontmatter, this works fine. However, if I save through grav, the images field is reset to null every time. Is there a fix for this?
.images:
type: pagemediaselect
label: Slider-afbeeldingen
multiple: true
just more space with tabs not spacing.
enjoy!