71741c5f98
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. |
||
---|---|---|
.. | ||
editable_champs | ||
messages | ||
_champ_row.html.haml | ||
_champs.html.haml | ||
_demande.html.haml | ||
_edit.html.haml | ||
_france_connect_informations.html.haml | ||
_header.html.haml | ||
_identite_entreprise.html.haml | ||
_identite_entreprise_bilan_detail.html.haml | ||
_identite_individual.html.haml | ||
_infos_generales.html.haml | ||
_messagerie.html.haml | ||
_submit_is_over.html.haml | ||
_user_infos.html.haml |