refactor(champ): add required?
used for the `required` html attribute. It check visibility to avoid hidden required input which prevent the form from being sent.
This commit is contained in:
parent
c94b1ce3d9
commit
528b7ec3f8
26 changed files with 35 additions and 28 deletions
|
@ -2,5 +2,5 @@
|
|||
id: @champ.input_id,
|
||||
aria: { describedby: @champ.describedby_id },
|
||||
rows: 6,
|
||||
required: @champ.mandatory?,
|
||||
required: @champ.required?,
|
||||
value: html_to_string(@champ.value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue