Hi folks,
I have a field of type nestedItems with a nested field also of type nestedItems.
nested_content:
label: Nested content
span: row
spanClass: col-12
type: nesteditems
customMessages:
buttonCreate: Add content
titleUpdateForm: Update content
titleCreateForm: Add content
trigger:
action: show
field: content_fields[]
condition: value[show_nested_content]
form:
fields:
images:
label: Images
span: row
spanClass: col-12
type: nesteditems
customMessages:
buttonCreate: Add image
titleUpdateForm: Update image
titleCreateForm: Add image
trigger:
action: show
field: item_type
condition: value[media][card]
form:
fields:
image:
label: Image or video
span: row
spanClass: col-12
type: mediafinder
mode: image
maxItems: 1
title:
label: Image title
span: row
spanClass: col-12
type: text
alt:
label: Image description
span: row
spanClass: col-12 col-lg-6
type: textarea
size: small
caption:
label: Image caption
span: row
spanClass: col-12 col-lg-6
type: textarea
size: small
aspect_ratio:
label: Image aspect ratio
span: row
spanClass: col-12 col-md-6 col-xl-3
type: jsonSelector
file: styles
selection: aspect_ratio
placeholder: select
object_position:
label: Image alignment
span: row
spanClass: col-12 col-md-6 col-xl-3
type: jsonSelector
file: styles
selection: object_position
default: 'object-center'
object_fit:
label: Image adjustment
span: row
spanClass: col-12 col-md-6 col-xl-3
type: jsonSelector
file: styles
selection: object_fit
default: 'object-cover'
However, in the controllers list view of the parent element "nested_content"
, the field of type nestedItems "images"
is ignored.
Is there a way to display the "images"
in the list view of the controller? Ideally, a specific field can be selected which is then displayed. In my case the image.
Can anyone help?