demarches-normaliennes/app/views/shared/dossiers/editable_champs/_departements.html.haml

4 lines
208 B
Text
Raw Normal View History

2020-10-07 17:42:21 +02:00
- hidden_field_id = SecureRandom.uuid
= form.hidden_field :value, { data: { uuid: hidden_field_id } }
= react_component("ComboDepartementsSearch", mandatory: champ.mandatory?, hiddenFieldId: hidden_field_id)