Since updating Wappler and all core files I just noticed a bunch of queries that use arrays are no longer working.
I have some dependent multiselect fields which should update based on one or more selections but they now only trigger a response if just one value is selected. If I select more than one value nothing happens - the console shows no response whatsoever. Here are some screenshots that show this...
Here I select multiple values but nothing changes - there should be 12 values in the third field.
In the query I am using the IN statement along with the {{$_GET.value.split(',')}} condition.
I have not made any change to these files in over a year and everything has been working fine - the only thing that has changed is the recent updates so it seems something may have changed in the core files that is affecting this.
If I select one value then yes I do. If I select more than one I don't.
Weirdly, after playing around a bit, it seems if I select multiple values from the bottom up it works as expected, but if I select them from the top-down it doesn't work.
That is a strange behavior how selects work, seems that the value of the html element is only the first selected. So if you select more but the first selected is not changed then the value is not changed. I have to improve my check in the component, will post an update soon.
Thanks @patrick - yes strange indeed! And even stranger that it works fine when you select multiple values from bottom up. Maybe something to do with the first value in the array?