OptionLabel for DropDownList

3 posts, 0 answers
  1. Tiptopweb
    Tiptopweb avatar
    5 posts
    Member since:
    Nov 2005

    Posted 31 Jul 2015 Link to this post

    There seems to be an issue with the dropdownlist and the option Label
    It is also happening in the demo page:

    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. Konstantin Dikov
    Konstantin Dikov avatar
    2088 posts

    Posted 04 Aug 2015 Link to this post


    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."

    Konstantin Dikov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Tiptopweb
    Tiptopweb avatar
    5 posts
    Member since:
    Nov 2005

    Posted 04 Aug 2015 in reply to Konstantin Dikov Link to this post

    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.

Back to Top