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

OptionLabel for DropDownList

2 Answers 41 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Tiptopweb
Top achievements
Rank 2
Tiptopweb asked on 01 Aug 2015, 12:09 AM

There seems to be an issue with the dropdownlist and the option Label
It is also happening in the demo page:
http://demos.telerik.com/kendo-ui/dropdownlist/cascadingdropdownlist 

The optionLabel is displaying in the dropdown where it should not?
See the red arrow on the screenshot (from Chrome on windows)

It is also happening on iPad and definitely funny (attached a screenshot from my project for additional info)

 

2 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 04 Aug 2015, 08:55 AM
Hi,

Although that we have already discussed the issue in the bug report that you have opened, for others convenience I will paste the answer here as well:

'The behavior that you are describing is due to a breaking change that was introduced with 2014 Q3 SP2 (2014.3.1411). Detailed information on this change could be found in the following article:
As you will notice, the optionLabel rendering was changed due to some new functionality that was introduced for the DropDownList widget."



Regards,
Konstantin Dikov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Tiptopweb
Top achievements
Rank 2
answered on 04 Aug 2015, 01:33 PM

Thank you

Yes and it is easy to get back the old behaviour by

- removing the OptionLabel
injecting in the list of option a new option in first position with the text "select..." and an empty value.

Tags
DropDownList
Asked by
Tiptopweb
Top achievements
Rank 2
Answers by
Konstantin Dikov
Telerik team
Tiptopweb
Top achievements
Rank 2
Share this question
or