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,
Please let me know if you have any further questions regarding this matter, I will be glad to help.
Thank you for the provided information along with the detailed steps to reproduce. I was able to see the behavior you are describing. However my first assumption is that if this is a browser-specific behavior than the issue is caused by IE, because when you perform step 4) in IE the dropdown list is displayed, instead of just clearing the selection.
Returning to your initial question I can say that this is a suitable way to get the nullText showing.
Please let me know if you have further questions regarding this issue.
Hi,I'm experiencing the same problems with the attached sample.
Browser versions:Chrome Version 39.0.2171.99 mFirefox 35.0IE 11.0.9600.17498
Detailed reproduction steps:1. Open the drop down => The drop down opens and the control is selected (blue)2. Select an entry => The drop down closes and the control is still selected (blue)3. Click in an empty part of the page => The control is delesected (grey)4. Click on the clear button => Firefox, Chrome: The control stays deselected (grey) and the selection text disappears. The null text is not shown. => IE: The drop down opens and the control is selected (blue). The null text appears when the control is deselected.
Actually the behavior is the same under Chrome and Firefox as well. Please run the attached sample and let me know how if it behaves as I described on your side.
Otherwise please let me know the exact versions of Chrome and Firefox that you are using.
Hi,
Thank you for the quick response.
It seems as it this is a browser specific problem. In IE it works as you describe - when clicking the clear button the igCombo control gets focus and the drop down list opens.
In Firefox and Chrome however the igCombo control does not get focus (and stays grey) when clicking the clear button.