fix(address): champ address should allow custom values

This commit is contained in:
Paul Chavard 2023-10-23 12:12:36 +02:00
parent 9e2662cb34
commit cf3249dba5
2 changed files with 12 additions and 1 deletions

View file

@ -1,2 +1,2 @@
= render Dsfr::ComboboxComponent.new form: @form, name: :value, url: data_sources_data_source_adresse_path, selected: @champ.value, id: @champ.input_id, class: 'fr-select', describedby: @champ.describedby_id do
= render Dsfr::ComboboxComponent.new form: @form, name: :value, url: data_sources_data_source_adresse_path, selected: @champ.value, id: @champ.input_id, class: 'fr-select', describedby: @champ.describedby_id, allows_custom_value: true do
= @form.hidden_field :external_id, data: { value_slot: 'value' }