Hi,Im using an igCombo control with the nullText and enableClearButton options.When the clear button is used while the igCombo does not have focus, the selection is cleared, but the null text does not appear.Example: http://jsfiddle.net/05qckbqj/My current workaround is to explicitly set the selectedIndex to -1 in the selectionChanged event if no items are selected.http://jsfiddle.net/axxc6zLz/Is there a better way to do this?
Hello Robin,
When you use the clear button the igCombo HAS focus. At the same time, the nullText appears when the combo is out of focus - please refer to http://help.infragistics.com/jQuery/2014.2/ui.igcombo#options:nullText where this is documented.
Your sample would behave exactly the same way if you do not handle the selectionChanged event, because when you use the clear button this event is not fired.
This is expected behavior. Please let me know if you have further questions on the matter.
Best Regards,Hristo AnastasovDeveloper Support EngineerInfragistics, Inc.