Hello all,
I am migrating to OH3 since a couple of days and really start valueing the new release. Moving away from my file based OH2 config to UI based config is quite some work, but I really enjoy it.
Unfortunetally I struggle to implement a very simple requirement in pages. I would like to have a dropdown selection list, which allows me to select one entry out of a list. This shall be then used with exec binding to execute a script with the selected attributes.
I selected the input list widget, but I simply do not understand where to put in the list of selectable values. I also looked at Input Vue Component | Framework7 Vue Documentation . But as I am not very experienced in coding and the F7 docs use a syntax differnt to the openhab YAML, I am not getting further.
I am pretty sure it should be very easy, maybe someone can help. Attached my YAML code.
Thanks in advance for any advise.
config:
label: Test1
blocks:
- component: oh-block
config: {}
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-list-card
config: {}
slots:
default:
- component: oh-input-item
config:
type: select
placeholder: bitte auswählen
title: Title
subtitle: subtitle
icon: oh:presence
sendButton: true
option: INput 1
value: TEEST123123, sdfsafs
defaultValue: tetst
name: value:sdfsaf
item: sudowebscript_input
slots: null
masonry: null