528b7ec3f8
used for the `required` html attribute. It check visibility to avoid hidden required input which prevent the form from being sent.
10 lines
378 B
Text
10 lines
378 B
Text
= @form.hidden_field :value
|
|
= @form.hidden_field :external_id
|
|
= @form.hidden_field :departement
|
|
= @form.hidden_field :code_departement
|
|
= react_component("ComboCommunesSearch",
|
|
required: @champ.required?,
|
|
id: @champ.input_id,
|
|
classNameDepartement: "width-33-desktop width-100-mobile",
|
|
className: "width-66-desktop width-100-mobile",
|
|
describedby: @champ.describedby_id)
|