Last active
July 6, 2018 22:01
-
-
Save Schweriner/5671492b6ca19e79a491cbcb5c8402bf to your computer and use it in GitHub Desktop.
You cannot use the value of a variable directly as option="{var: 'Label'}" of a f:form.select. This is a workaround to do it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:form.select property="sichtbarfuergruppe" | |
options="{ | |
0: { | |
'uid': '{settings.whatEver}', | |
'label': 'Vorlesungsplaner und Dozenten' | |
}, | |
1: { | |
'uid': '{settings.adminUserGroupId}', | |
'label': 'Nur Vorlesungsplaner' | |
}}" optionLabelField="label" optionValueField="uid"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment