Commit graph

9 commits

Author SHA1 Message Date
mfo
91f07f86e4
fix(Champ.checkbox): single checkbox should not be wrapped in fieldset. single checkbox uses fr-checkbox not fr-radio
Co-authored-by: Corinne Durrmeyer <corinne@inseo.fr>
2024-04-24 18:00:40 +02:00
Colin Darie
01ab59c2ed
style(form): position correctly the mandatory star on checkbox when text is on multiple lines 2024-02-21 18:04:33 +01:00
Colin Darie
f112569192
fix(haml-lint): TrailingEmptyLine 2024-02-12 09:33:23 +01:00
Martin
3697d8335d correctif(checkbox_component): ajoute le labelledby_id au <label> des checkbox unique car elles n'ont pas de de ChampLabelComponent (inlinées) 2023-09-04 10:55:48 +02:00
Kara Diaby
37796b8843 Checkbox au DSFR 2023-09-04 10:55:48 +02:00
Kara Diaby
804f89f444 Changements sur le caractère obligatoire / facultatif et l'asterisque interface usager et page de connexion 2023-06-12 14:43:10 +00:00
Sébastien Carceles
fa6fc077b4
normalize boolean values (#8320)
* extract parent for yes no and checkbox champs

* checkbox stores true / false instead of on / off

* normalize blank value to nil

* normalize invalid value to false

* after party task: normalize checkbox values

* after party task: normalize yes_no values
2023-01-05 11:18:27 +00:00
simon lehericey
528b7ec3f8 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.
2022-10-18 11:13:41 +02:00
simon lehericey
a3e8c09e71 component all the champ 2022-09-01 09:48:27 +02:00