grav icon indicating copy to clipboard operation
grav copied to clipboard

pagemediaselect with multiple in list resets value to null on save

Open cyanonoob opened this issue 2 years ago • 1 comments

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?

cyanonoob avatar Feb 15 '23 13:02 cyanonoob

.images:
 type: pagemediaselect
 label: Slider-afbeeldingen
 multiple: true

just more space with tabs not spacing.

test

enjoy!

mdestafadilah avatar Jun 05 '23 02:06 mdestafadilah