Facing the same issue, I have multiple select2 elements and one of them is conditionally hidden. Not sure if thats why the error happens. There maybe other reasons. The config element is empty.
Attaching a temporary patch for the same. A better solution is needed.
Thanks,
Sukanya
Slightly confused here, I am looking for a solution for the scenario 4 in this comment
https://www.drupal.org/project/drupal/issues/1149078#comment-14590562
🐛
States API doesn't work with multiple select fields
Needs review
'select[name="dependee[]"]'=> [['value' => ['a']], ['value' => ['b']]],
It will only show the field if I select EXACTLY A or EXACTLY B (if I select A and B it won't show the field)
I need the field to be displayed if I select A or B . I applied the latest patch and still see the issue. Has this issue been addressed in the latest patch/ am i missing something or is it going to be addressed separately?
Thanks,
Sukanya
Please commit this patch, this issue is a blocker , breaking the new user registration flow!!.
Thanks,
Sukanya
There is another issue in the patch submitted in 4 (and now 5 also). The url being switched to, still has the destination parameter in it. which means that when i save an entity in the switched language, it goes back to the old language.
The right solution would be to change the destination to the language being switched, but i will leave that to the language experts . Submitting a temporary patch to remove the destination in the new url also , for now.
@prashant.c , what do u mean by use statement for the classes not included in the patch? The required service is already being injected in code written previously.
Getting a WSOD with the latest patch.
Attaching the correct fix for the dev version.