Hi,
I have seen some code in our project using formContol attribute. I couldn't find any documentation on it. For some reason this is causing the default value not set on the dropdown.
dropdownPlaceholder is something like this
this.dropdownPlaceholder = {
label : `Select ${label}` ,
value : null
};
Example:
<kendo-dropdownlist [data] = "list"
[textField] = "'label'"
[valueField] = "'value'"
[defaultItem] = "dropdownPlaceholder"
style="background-color: inherit"
[valuePrimitive] = "true"
(valueChange) = "onDropdownValueChange($event)"
[popupSettings] = "{popupClass: 'facets-input-dropdown-popup', width: 'auto'}"
[disabled] = "isDisabled"
[formControl]="control">
I expect the default value to be 'Select' in the dropdown, but not seeing that. Any documentation on formControl attribute for kendo-dropdownlist will be helpful.
Regards,
Jyothi