ParamQuery grid support forum
General Category => Bug Report => Topic started by: MichalV on October 25, 2024, 07:55:19 pm
-
Hi Paramvir
First of all thanks much for all your great work!
I have found out the autocomplete dropdowns do not filter data based on the cells text in version 10.0.0
You can see the issue in the 10.x demo pages "Inline editing->Editors & validations" e.g. the Ship Country column
In 9.x autocomplete works well.
Please could you help?
-
Thanks for reporting the issue with autocomplete editor.
Fix lies in updating autoCompleteEditor
//open the autocomplete upon focus
$(this).autocomplete("search", ui.$editor.val());
Demo works fine after the fix.
-
It helps with the filtering, however now it starts the filtering even on the start of the autocomplete editor, so the dropdown does not show other options.
You can compare it with the demo 9.1.1. where the editor always shows all options when it starts. Thanks.
-
ok, the below update fixes it.
.one('focus', function () {
//open the autocomplete upon focus
$(this).autocomplete("search", "");
});
Please recheck.
-
Nice job.. That fixed all the issues!
Many thanks for your quick support :)