ich versuche gerade ein Widget zu erstellen, scheitere daran das ich gerne das Sheet Popup verwenden möchte aber leider kann ich dort nicht alle meine Einträge sehen. Auf dem Mobiltelefon sehe ich nur 3 Auswahlmöglichkeiten und am PC 4 obwohl es mehr sein sollten.
Leider habe ich im Netz nicht gefunden ob man hier etwas konfigurieren kann.
So rufe ich in einem Widget das andere auf
Code: Alles auswählen
no-chevron: true
item: =props.auswahl4
action: sheet
actionModal: widget:Erinnerungskalender_Auswahl
actionModalConfig:
item: =props.auswahl4
termin: =props.auswahl4
termininput: =props.termindatum4
title: ="Auswahl " + items[props.termintitel4].state
Code: Alles auswählen
component: oh-list-card
config:
title: =props.title
slots:
default:
- component: oh-list-item
config:
no-chevron: true
title: rausgestellt
action: command
actionItem: =props.item
actionCommand: rausgestellt
icon: "=items[props.item].state === 'rausgestellt' ? 'f7:circle_fill' :
'f7:circle'"
iconColor: "=items[props.item].state === 'rausgestellt' ? 'green' : 'gray'"
- component: oh-list-item
config:
no-chevron: true
title: entfällt
action: command
actionItem: =props.item
actionCommand: entfällt
icon: "=items[props.item].state === 'entfällt' ? 'f7:circle_fill' : 'f7:circle'"
iconColor: "=items[props.item].state === 'entfällt' ? 'purple' : 'gray'"
- component: oh-list-item
config:
no-chevron: true
title: erledigt
action: command
actionItem: =props.item
actionCommand: erledigt
icon: "=items[props.item].state === 'erledigt' ? 'f7:circle_fill' : 'f7:circle'"
iconColor: "=items[props.item].state === 'erledigt' ? 'lightblue' : 'gray'"
- component: oh-list-item
config:
no-chevron: true
title: auto
action: command
actionItem: =props.termin
actionCommand: =items[props.termininput].displayState
icon: "=items[props.item].state === items[props.termininput].displayState ?
'f7:circle_fill' : 'f7:circle'"
iconColor: "=items[props.item].state === items[props.termininput].displayState ?
'gray' : 'gray'"
Vielleicht hat ja jemand einen Tipp.
Gruß Lentsch