grav-plugin-admin icon indicating copy to clipboard operation
grav-plugin-admin copied to clipboard

selectize options ignore language strings

Open dani-ooo opened this issue 4 years ago • 0 comments

when naming selectize options with a language string, it’s not displayed as it should.

in this example, THEME_X.SELECT_OPTION1 doesn’t render the corresponding string from the languages.yaml file, instead it appears exactly as “THEME_X.SELECT_OPTION1”.

form.field:
  type: selectize
  selectize:
    options:
      - text: THEME_X.SELECT_OPTION1
        value: option1

needless to say i made sure the string was in the theme’s languages.yaml.

dani-ooo avatar Dec 11 '21 06:12 dani-ooo