demarches-normaliennes/app/views/shared/dossiers/editable_champs
Pierre de La Morinerie 71741c5f98 views: fix checkbox wrongly selected in multiple_drop_down_list
The check for whether the checkbox should be checked or not was made by
matching the whole string. Thus, given two options 'valid' and
'invalid', the check for the presence of 'valid' would succeed even when
only 'invalid' was present in the values (because
`'valid'.includes?('invalid')`.

The code now checks against the list of items in the selected_options.
2021-07-20 09:01:07 +02:00
..
_address.html.haml Set external_id from combo search inputs 2021-01-15 11:50:02 +01:00
_annuaire_education.html.haml Set external_id from combo search inputs 2021-01-15 11:50:02 +01:00
_carte.html.haml Use IGN plan v2 and add MNHN data sources 2020-09-15 14:39:02 +02:00
_champ_label.html.haml fix heading order by removing useless h4 2020-07-20 11:36:55 +02:00
_champ_label_content.html.haml replace html labels with h2 elements 2020-03-24 16:54:35 +00:00
_checkbox.html.haml editable_champs: move the label near the checkbox 2018-06-18 18:12:11 +02:00
_civilite.html.haml affiche Madame ou Monsieur 2020-12-08 21:30:54 +01:00
_communes.html.haml Set external_id from combo search inputs 2021-01-15 11:50:02 +01:00
_date.html.haml date champs: adding a placeholder for IE and Safari (which do not support the input type date) 2020-08-19 14:10:58 +00:00
_datetime.html.haml datetime type de champ: changed the years range from [1950;2100] to [to current year - 1; 2020-08-13 13:41:45 +00:00
_decimal_number.html.haml Add DecimalNumberChamp 2018-11-06 11:28:44 +01:00
_departements.html.haml Set external_id from combo search inputs 2021-01-15 11:50:02 +01:00
_dossier_link.html.haml Fix procedures with multiple dossier link champs 2018-10-24 10:44:28 +02:00
_drop_down_list.html.haml views: add a "None" option to optional radio lists 2020-08-25 11:42:30 +02:00
_editable_champ.html.haml Modifie la description dans le champ titre identité 2020-10-30 14:17:09 +01:00
_email.html.haml editable_champ: move partials path 2018-02-27 18:36:29 +01:00
_engagement.html.haml editable_champ: move partials path 2018-02-27 18:36:29 +01:00
_etablissement_titre.html.haml siret: make etablissement styled and visible 2018-07-30 17:49:00 +02:00
_explication.html.haml [Fix #1801] use the new string_to_html method 2018-05-24 18:05:41 +02:00
_header_section.html.haml Show section numbers only if none of sections start with numbers 2021-04-06 10:45:16 +01:00
_iban.html.haml Add iban type de champ 2020-09-23 15:56:26 +02:00
_integer_number.html.haml Add IntegerNumberChamp 2018-11-06 11:28:44 +01:00
_linked_drop_down_list.html.haml Add mandatory * to secondary value 2020-09-29 14:33:27 +00:00
_multiple_drop_down_list.html.haml views: fix checkbox wrongly selected in multiple_drop_down_list 2021-07-20 09:01:07 +02:00
_number.html.haml editable_champ: move partials path 2018-02-27 18:36:29 +01:00
_pays.html.haml implement ComboPaysSearch 2020-12-08 13:09:08 +00:00
_phone.html.haml very light client-side validation for phone 2020-08-20 15:33:03 +02:00
_piece_justificative.html.haml views: refactor the attachment/edit view 2019-10-31 10:27:19 +01:00
_regions.html.haml Set external_id from combo search inputs 2021-01-15 11:50:02 +01:00
_repetition.html.haml autosave: remove the repetition row after deletion 2020-08-25 14:39:34 +02:00
_siret.html.haml form: fix the bottom margin of the siret element 2020-02-11 17:36:50 +01:00
_text.html.haml Use aria-describedby to link notice and input again 2019-11-21 15:34:59 +01:00
_textarea.html.haml minor typo in textareas 2019-12-03 10:13:16 +01:00
_titre_identite.html.haml Watermark titres identite 2020-11-25 16:19:06 +01:00
_yes_no.html.haml ajout d'un fieldset sur le champ civilité 2020-03-24 16:54:35 +00:00