feat(i18n): translate countries selector

This commit is contained in:
Paul Chavard 2021-08-31 12:49:35 +02:00
parent 3d9d881a45
commit a3cc072bbd
11 changed files with 61 additions and 863 deletions

View file

@ -1,3 +1,4 @@
- hidden_field_id = SecureRandom.uuid
= form.hidden_field :value, { data: { uuid: hidden_field_id } }
= form.hidden_field :value, { value: champ.localized_value, data: { uuid: hidden_field_id } }
= form.hidden_field :external_id, { data: { reference: true } }
= react_component("ComboPaysSearch", mandatory: champ.mandatory?, hiddenFieldId: hidden_field_id)