I have a group which contains multiple items which are all of type Image
. Now I want to display all these images in a widget with oh-repeater
.
But I don’t manage to display the images. The label of the items are displayed for testing purpose and this is working. When I replace =loop.stations
by the an actual item, I do get the correct image. So I probably make a mistake in the syntax for the item, but don’t know what.
snippet of code:
- component: oh-repeater
config:
fragment: true
for: stations
sourceType: itemsInGroup
groupItem: radio_stations
filter: loop.stations.label.includes("Radio") == true
slots:
default:
- component: oh-image
config:
item: =loop.stations
title: =loop.stations.label