Closed jajajaneeneenee closed 1 year ago
Another suggestion: you should add match="key"
to the multiselect – then the new item "Departures board" (which uses the chunk) will also match with multiple values like departures_board=realtime;timetable
! I tried it out ...
Without match="key"
only single values will match ...
Therefor I would suggest to use a code like this:
<multiselect key="departures_board" text="Departures board" match="key">
<list_entry value="yes" display_value="Available"/>
<list_entry value="timetable" display_value="Timetable"/>
<list_entry value="realtime" display_value="Realtime display"/>
<list_entry value="no" display_value="None"/>
</multiselect>
You forgot to change display_values
to display_value
in thelist_entry
lines. (Values will be shown in lowercase letters.)
The multiselect has no text attribute and
display_values="XY"
should bedisplay_value="XY"
:It could be changed like this:
And perhaps, the (questionable?) key "delay" could be added (taginfo says: 603 uses)?