Last Updated: 09 Jun 2020 13:56 by ADMIN
Created on: 29 Aug 2017 13:17
Category: DropDownList
Type: Feature Request
Dropdown initial item is unavailable
I have a usecase where the initial selected item is no longer present in the choices.
With the current behavior, the initial value is not displayed and the dropdown is empty.
Would it be possible to display the initial value with a 'disabled' css class in the dropdown?

Same for multiselects, etc.
1 comment
Posted on: 09 Jun 2020 13:56

Hi J,

It is possible to make the initial value disabled in the list by disabling the same item that is passed as an initial value:

Here is an example with MutliSelect component:

What also can be done is to bind the [value] property to an item that is not included in the collection bound to the [data] property:

Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.