demarches-normaliennes/app/models/champs
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
..
address_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
annuaire_education_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
boolean_champ.rb normalize boolean values (#8320) 2023-01-05 11:18:27 +00:00
carte_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
checkbox_champ.rb normalize boolean values (#8320) 2023-01-05 11:18:27 +00:00
civilite_champ.rb Allow prefill civility 2022-12-20 14:38:05 +01:00
cnaf_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
commune_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
date_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
datetime_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
decimal_number_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
departement_champ.rb correctif(ChampDepartement): gere les departement a 3 codes 2022-12-27 14:55:57 +01:00
dgfip_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
dossier_link_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
drop_down_list_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
email_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
explication_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
header_section_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
iban_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
integer_number_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
linked_drop_down_list_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
mesri_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
multiple_drop_down_list_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
number_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
pays_champ.rb sentry(3830513995): champs pays peut avoir un external_id a '', test la presence d'external_id sinon on peut renvoyer du nil via Champs::PaysChamp.name 2022-12-27 16:28:34 +01:00
phone_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
piece_justificative_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
pole_emploi_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
region_champ.rb feat(export): add pays, region and departement codes 2022-12-21 14:03:02 +01:00
repetition_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
rna_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
siret_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
text_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
textarea_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
titre_identite_champ.rb review: validate prefilled champs only 2022-12-08 15:27:39 +01:00
yes_no_champ.rb normalize boolean values (#8320) 2023-01-05 11:18:27 +00:00