I try to make a select field where users can choose one of the site’s available languages.
default_lang:
label:
ru: Язык по умолчанию
en: Default language
type: select
width: 1/2
options: query
query:
fetch: kirby.languages
text: "{{ language.name }}"
value: "{{ language.code }}"
As a result, I see a select field with a correct number of options, but instead of an option text and value I see exactly my query code {{ language.name }}.