Prevent Selection on Open

2 posts, 0 answers
  1. Keith
    Keith avatar
    35 posts
    Member since:
    Sep 2013

    Posted 09 Feb 2014 Link to this post

    I've actually extended the ComboBox and added some of my own fuunctionality tpo it. It's workign very well so far, but for one little slight annoyance.

    I want to prevent the ComboBox from automatically making a selection when the text in the editable area matches exactly the stated value of the item. This has to do with CSS reasons mostly. Also, I've overwritten the arrow scrolling, so that when you press the down arrow it will focus the next element (adds k-state-focused), but it does not actually select the value until you either hit enter, or click on it. I've tried removing the "k-state-selected" class from the element, but that causes errors when I actually go to select an item with the mouse, in that it causes the "e.item" to not be defined and so I'm unable to perform any "select" actions based on the selected value.

    Any suggestions?

  2. Kiril Nikolov
    Kiril Nikolov avatar
    2543 posts

    Posted 11 Feb 2014 Link to this post

    Hello Keith,

    I am afraid that we cannot provide you with a solution that breaks the core functionality of the widget, and the reason for this is that we cannot guarantee that this will work as expected and will be supported in future versions. 

    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top