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 | ||
dossiers | ||
_procedure_description.html.haml_spec.rb |