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. |
||
---|---|---|
.. | ||
attachment | ||
champs | ||
dossiers | ||
help | ||
password | ||
procedures | ||
_france_connect_login.html.haml | ||
_mailer_round_button.html.haml | ||
_mailer_vertical_margin.html.haml | ||
_procedure_description.html.haml | ||
_tab_item.html.haml |