demarches-normaliennes/spec/views/shared/dossiers
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
..
messages Anonymisation de l'instructeur dans la messagerie 2020-05-18 12:56:30 +00:00
_champs.html.haml_spec.rb tests 2021-03-18 11:38:52 +01:00
_demande.html.haml_spec.rb removal of translation keys already present in the gem rails-i18n 2020-09-01 16:33:58 +02:00
_edit.html.haml_spec.rb views: fix checkbox wrongly selected in multiple_drop_down_list 2021-07-20 09:01:07 +02:00
_france_connect_information.html.haml_spec.rb fix broken nil values in france_connect_informatio 2020-11-11 15:40:44 +01:00
_identite_entreprise.html.haml_spec.rb affiche infos entreprise uniquement si diffusable 2020-03-17 15:57:02 +00:00