Details
-
Bug
-
Resolution: Fixed
-
Critical
-
3.0.3
-
None
Description
Steps to reproduce:
- Create a custom tag with choices attribute:
custom_tags: factbox: template: '@ezdesign/custom_tag/factbox.html.twig' icon: '/bundles/factbox/img/icons.svg' is_inline: false attributes: options: type: choice choices: - option1 - option2 default_value: option1 required: true
- Create translations for choice labels:
ezrichtext.custom_tags.factbox.attributes.options.choices.option1.label: 'Option 1' ezrichtext.custom_tags.factbox.attributes.options.choices.option2.label: 'Option 2'
- Open OE and insert the custom tag
Expected result:
Choice label translations will be shown
Actual result:
Choice values are shown instead of translated labels