New to Kendo UI for Vue? Start a free 30-day trial
Default Item
The Kendo UI for Vue Native DropDownList enables you to configure its default item.
The
defaultItemproperty type has to match the data type. For example, if thedataItemsproperty contains a list of objects, thedefaultItemhas to be defined as an object with the sametextFieldas the data items.
The following example demonstrates how to define a defaultItem as a primitive value.
Change Theme
Theme
Loading ...
The following example demonstrates how to define a defaultItem as an object value.
Change Theme
Theme
Loading ...