Implement ComboAdresseSearch

This commit is contained in:
Paul Chavard 2020-10-07 17:44:04 +02:00
parent b6c94a3758
commit 8a2f079acb
6 changed files with 60 additions and 96 deletions

View file

@ -1,4 +1,3 @@
= form.select :value, [champ.value].compact,
{ include_blank: true },
required: champ.mandatory?,
class: 'select2 adresse'
- hidden_field_id = SecureRandom.uuid
= form.hidden_field :value, { data: { uuid: hidden_field_id } }
= react_component("ComboAdresseSearch", mandatory: champ.mandatory?, hiddenFieldId: hidden_field_id)