ComboBox auto selects first item on lost focus

2 posts, 0 answers
  1. Byang
    Byang avatar
    9 posts
    Member since:
    Nov 2015

    Posted 05 May 2017 Link to this post


    I have a combobox that has the following configuration:

    IsEditable=true, StaysOpenOnEdit=true, SelectedValue={Binding Path=id, Mode=TwoWay}, SelectedValuePath="SomeID", DisplayMemberPath="SomeName"

    The issue is that when the ComboBox is first loaded without any values, then the user keyed in some dummy values e.g. "asdf" then hit a Submit button, the first item that starts with "a" is selected. Did I miss anything on the config above?



  2. Stefan
    Stefan avatar
    927 posts

    Posted 10 May 2017 Link to this post

    Hello Byang,

    In order to alter this default behavior, you can set the CanAutocompleteSelectItems property of the control to False. Can you please give it a try? I s this the behavior you are aiming at?

    All the best,
    Stefan X1
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top