demarches-normaliennes/spec/views/shared
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
..
attachment add ui for integrity error 2021-04-06 18:11:26 +02:00
dossiers views: fix checkbox wrongly selected in multiple_drop_down_list 2021-07-20 09:01:07 +02:00
_procedure_description.html.haml_spec.rb views: display auto-archive date on procedure description 2020-05-28 13:22:02 +00:00