Hello,
What we want to achieve is to force the user to click in order to select an item. The problem is that when he/she types and there is only one item left that matches the condition it is automatically selected. Is there a way to avoid this?Thank you for your time,Stanislav R
Hello,Thank you for your response!
Stanislav R
Hi Stanislav,
Thank you for report.That issue was reproduced and fixed. Update will be available within service releases.
Note: when data was changed (while filtering), then modified "auto" selection was considered final and therefore possible cancelation of selectionChanging event had no effect.
Anything?Stanislav R
Some additional information on our progress with this:We tried using the igcomboselectionchanging event in the following manner in order to cancel the selection, and avoid activating the igcomboselectionchanged event handler in which we have some logic.
Here is the code sample: $('[data-id=newRoleParent]', self.element).on('igcomboselectionchanging', function (event, ui) { if (event.originalEvent.originalEvent.type == "keydown" && event.originalEvent.originalEvent.keyCode !== 13) { return false; } return true; });
In the documentation it is stated that we have to "Return false in order to cancel change." But it doesnt work - the item is selected and the igcomboselectionchanged event is fired.
Please advise us how to avoid this and achieve our goal.
Thank you for your time,