Closed (fixed)
Project:
Webform
Version:
6.1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2021 at 21:57 UTC
Updated:
24 Dec 2021 at 11:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
NewZeal commentedComment #3
jrockowitz commentedThanks for the patch.
The attached webform replicates the issue.
I made on minor tweak to make the selector a little more specific to webform (prefixing is with .webform-select2 ~ ) and more general for select2 (using just .select2).
.select2-container => .webform-select2 ~ .select2Comment #4
jrockowitz commentedLooks like chosen has the same issue and choices simply does not work with clientside validation.
At the very least we should fix chose using the same solution.
Comment #5
NewZeal commentedThat is a good idea. It is a matter of finding out what the selectors are. I've tested patch #4 and it works fine. Thanks.
Comment #6
paulocsPatch looks good.
Attaching screenshots...
I tested first with the
clientside_validationdev branch and the error persisted. As I checkoutclientside_validation3.0.0-rc4, I see that the issue was solved. I'll have a look at this problem and see if I open a new issue here or in the clientside_validation issue queue.Comment #9
jrockowitz commented