demarches-normaliennes/app/components/editable_champ/address_component/address_component.html.haml

2 lines
305 B
Text

= 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' }