demarches-normaliennes/app/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
champs Add a point on map from coordinates input 2021-07-07 13:33:28 +02:00
dossiers views: fix checkbox wrongly selected in multiple_drop_down_list 2021-07-20 09:01:07 +02:00
help add aria-disclosure for all dropdown buttons 2020-09-15 18:12:26 +02:00
password Administrateur password, remove one level of indirection 2019-08-12 13:43:03 +02:00
procedures explain what percentile constant means 2021-06-17 16:31:53 +02:00
_france_connect_login.html.haml Feat: allow to disable France-Connect 2020-09-01 15:51:10 +02:00
_mailer_round_button.html.haml helpers: add variants to mailer_round_button 2019-07-25 12:25:50 +02:00
_mailer_vertical_margin.html.haml helpers: add vertical_margin helper for mailers 2019-07-25 12:25:50 +02:00
_procedure_description.html.haml Fix apostrophes ‘ -> ’ 2021-05-26 18:05:14 +02:00
_tab_item.html.haml display count before text in tabs 2021-05-06 09:13:20 +02:00