Localize select and radio options #1027
DanRibbens
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select and radio fields should allow localizization on the
label
to be used so that each locale can display the label correctly in the admin UI based on the current locale.The default locale will be used when the options do not have a value for the current locale being edited.
This wouldn't have any effect on the value, only the labels.
Some extra validation would be needed to make sure that fields have at minimum the default locale be present when using localized options.
example select field options config:
options: [ { value: 'hello', label: { en: 'Hello', es: 'Hola' } /*...*/ ]
Beta Was this translation helpful? Give feedback.
All reactions