Hi,
to use an chosen selection in main-label, I found the way below:
'Vendor.Site:NodeType':
label: ${q(node).property('typeName')}
ui:
label: MyNode
icon: 'icon-blabla'
...
properties:
typeName:
type: string
defaultValue: 'one'
ui:
reloadIfChanged: TRUE
label: "Name of type"
inspector:
...
editor: 'TYPO3.Neos/Inspector/Editors/SelectBoxEditor'
editorOptions:
placeholder: 'Chose a Type'
values:
'one':
label: "Name ONE"
'two':
label: "Name TWO"
Does anyone know how I get to the value from label of chosen Selection?
All my attempts end with thrown errors.