I need somehow to configure igCombo so on the drop down it would clear text box and then filter out while user is typing... currently
filteringType: 'local', autoComplete: true, are providing this behavior... here is the problem : when combo is initialized to some value ( $('#comboLESubj').igCombo("option", "selectedItems", [{ index: ind }]);) .. then when drop down is pressed it displays only that one value, unless clear button is pressed and then drop down after pressed again shows all the values. What is probably needed is to clear text box on drop down opening the way so it will clear all the filtering so the full list of items is displayed on first click.
Attached working html sample with all sources where this behavior is displayed on the $("#comboLESubj").igCombo({ .. please notice that it is 13.2, it is not expired until the end of this month and this project is not upgradable.... again I am looking for the way to configure or add something to the drop down opening so that drop down will show full list of items on the first click and then original filtering/autocomplete functionality will continue when user starts entering in the control text box... attached working htm file with demo behavior in the #comboLESub control
what probably resolve the issue is on dropDownOpening programatically execute the same method ( sequence ) as when the clear value button is pressed.. because the desired behavior is actually achieved in two steps now : click 'clear value' and then click 'drop down'.. that actually clear filter and display the whole list.. and I need to have it in one click of drop down button...
Hi mcseidel,
Thank you for posting in our community!
I reviewed the sample and I noticed that you have used the following approach:
$('#comboLESubj').igCombo("option", "selectedItems", [{ index: ind }]);
Instead of that, try the method "selectedIndex", which is presented in our 13.2 documentation in the following matter:
$('#comboLESubj').igCombo("selectedIndex", ind);
You should achieve the desired behavior.
Please, let me know whether you need any further assistance!