Hello there,
have no idea to trigger the change event of dropdownlist
I need to set other inputs of my form ,if the code has a specific value, at the onchange event
My html:
<
div
class
=
"row"
>
<
div
class
=
"col-md-6"
>
<
mat-label
id
=
"title-t"
class
=
"required"
></
mat-label
>
<
kendo-dropdownlist
id
=
"tID"
[data]="dataSourceList"
[textField]="'name'"
[valueField]="'code'"
formControlName
=
"tList"
(valueChange)="onChangeList($event)">
</
kendo-dropdownlist
>
</
div
>
</
div
>t;
My ts:
public onChangeList(e){
var t_code= e.code;
console.log(t_code);
}
i want call event change in another function, something like this:
//tID.kendoDropDownList.change();
thanks,
Federico