Discussions
Calling label from dropdown
about 4 years ago by Keston
Is there a way to call the label (and not the value) of a dropdown option?
Something like {{field:label}}?
about 4 years ago by Sacha TrauwaenAdmin
You can have access to schema and options in templates (need to be activated in manifest).
To render the label of a dropdown , you can do it like this :
{{arrayindex ../Options.fields.Category.optionLabels @index }}
A full exemple is available here :
https://github.com/sachatrauwaen/OpenContent-Templates/tree/master/Catalog
about 4 years ago by Keston
Wow, yep, thanks!
about 3 years ago by Keston(edited)
This comment has been deleted
ο»Ώ