You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pat-depends select field with multiple options matches only the first selected value #1253
When I select multiple options in the select field Choose your satisfaction level on the demo page only the first selected option is evaluated for the pad-depends below.
It think the problem is the in the Dependshandler_getValue funktion.
@Nimo-19 I'm checking this issue - we didn't notice it as we have no use case where we would need a condition together with multiple values. I also think you found the right spot where this breaks - multiple field values are simply not supported.
Activity
Nimo-19 commentedon Nov 25, 2025
Is there any ambition to fix in this?
With this in place the
=~comparison simply makes no sense it can only do the same as the equality operator.Patterns/src/lib/dependshandler.js
Line 103 in 2eabe34
valuein cannot be a list it is always the first element of the list, because ofreturn inputs[0].value;thet commentedon Dec 31, 2025
@Nimo-19 I'm checking this issue - we didn't notice it as we have no use case where we would need a condition together with multiple values. I also think you found the right spot where this breaks - multiple field values are simply not supported.
I'm on it...