This is a migrated thread and some comments may be shown as answers.

ComboBox selects first item when Enter key is pressed

1 Answer 277 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Noldor
Top achievements
Rank 1
Noldor asked on 10 Oct 2013, 07:10 AM
Hi,

I've noticed that if you press Enter key from keyboard when no item is selected in combobox, the first item automatically get selected. Is there anyway to prevent this in configuration settings without using javascript events? I don't want to add an extra keydown event each time i use a combobox in my pages.  If there is an enable/disable option for this behavior it will be great. (i am using aspnet-mvc wrapper by the way...)

Thank you.


1 Answer, 1 is accepted

Sort by
0
Noldor
Top achievements
Rank 1
answered on 10 Oct 2013, 07:15 AM
Seems like it alredy has this feature :
.HighlightFirst(false)

http://www.kendoui.com/forums/kendo-ui-web/combobox/disable-default-value-when-i-press-enter-in-an-empty-combobox.aspx

Sorry for opening a duplicate topic.
Tags
ComboBox
Asked by
Noldor
Top achievements
Rank 1
Answers by
Noldor
Top achievements
Rank 1
Share this question
or