Closed Koi7 closed 4 years ago
Hello,
Can you please let me know where is this inconsistency? Thank you.
jqGrid grabs empty values for multiselect and puts them into filter.rules. I believe this is because your code treats empty array as valid value to put into filters. As a result filters are:
I used the latest version of jqGrid. It didn't resolved the issue. Issue appeared after I updated jquery to 3.x version.
Check triggerToolbar function. This function collects search data and doesn't consider case when $('select[multiple]').val() returns - empty array. Breaking change in jquery 3 described here - https://jquery.com/upgrade-guide/3.0/#breaking-change-select-multiple-with-nothing-selected-returns-an-empty-array
Thanks. Will check this.
Hello,
First of all sorry for delay. I have checked this and it is true. The fix is available in Github. Also fixed the dialogue search too.
Thank you for finding this problem.
If you think that the issue is fixed, please close it.
Best Regards, Tony
Hi. I will check this when you release new version of jqGrid. I'm not going to build it by myself.
Hope you tested it and is OK. I close it. In case you find something, please reopen the issue
This jquery 3 breaking change seems to be still unhandled.