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