We are using 2017.1.
We have an igcombo control where the datasource contains several items, the first of which has a null value (with a display string that is an empty string). If we use the keyboard to select the item (by pressing the down key when it has focus to open the list), it never actually highlights the first empty item (which is visible in the shown list). Subsequent presses of the down key fail to highlight the next item either, whereas pressing the up key immediately closes the list.
If I temporarily change the value of the first item to something not null (like an empty string), then the selection and highlighting with the keyboard is fine.
For what its worth, if we use the mouse to select the null item, the control field does actually clear, but the list itself remains open. Selecting a non-null value with the mouse shows the correct value in the control field AND the list closes.
Any ideas/comments would be greatly appreciated.
Well, looks like igcombo just doesn't handle a null value gracefully. I've resorted into inserting a 'placeholder' item, and just ensuring that an interface is provided to get the value that sets intercepts and returns null/undefined as the value if its selected.
Thank you for posting in our forum.
I am glad you were able to workaround this behavior and achieve your requirement – we appreciate your feedback, as we always strive to deliver quality products and delight our customers.
Please let me know if you have other questions regarding this matter, or if you need some further assistance.