Oh-toggle item in oh-repeater loop not displayed

Hello,

I try to use oh-list-item with a toggle switch in oh-repeater:

      slots:
        default:
          - component: oh-list
            slots:
              default:
                - component: oh-repeater
                  config:
                    sourceType: itemsInGroup
                    groupItem: =props.lights_on
                    for: option
                  slots:
                    default:
                      - component: oh-list-item
                        config:
                          title: =loop.option.label
                          item: =loop.option.name
                          color: yellow

But there is no toggle switch for the items.

Thank you :slight_smile:

The oh-list-item does not include any other components by default. You want to use a oh-toggle-item instead.

Thank you so much :slight_smile: