Hi,
I’ve extended the default page form with a pagemediaselect field with the multiple: true attribute. However, when I select multiple images and then save the page, the entries are replaced with just the word “Array” in both the Admin dashboard as well as the .md page file.
What am I doing wrong?
Thanks!
title: Test
‘@extends’:
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
fields:
header.slogan:
type: text
style: vertical
label: Slogan
ordering@: header.title
header.gallery:
type: pagemediaselect
style: vertical
label: Page Gallery
multiple: true