We’ve got a checkboxes field with the following settings:
category:
type: checkboxes
label: Kategorie
options:
print: Print
web: Web
app: App
In our templates, we’d like like to display the value and not the key. But the key is what’s stored in the content file and what’s returned by the field.
How to I get the selected values?
Or how do I get the selected key/value pairs?
So what I get is print
.
What I’d like to get is Print
.
What I’d sometimes like to get is ['print' => 'Print']
.