I am using Kendo dropdown list in my Angular 9 project everything is working fine but i am not able to use NgModel property to dropdown.
i am getting following error: "Can't bind to 'ngModel' since it isn't a known property of 'kendo-dropdownlist'."
1 Answer, 1 is accepted
2
Dimiter Topalov
Telerik team
answered on 18 May 2020, 08:01 AM
Hello Maitri,
The observed error is typically caused by not importing the Angular Forms module in the same module the DropDownList is used. The other possible cause is not importing the DropDowns module, but if the DropDownList is working as expected without binding ngModel, this is not the case.
Here is a runnable example, demonstrating a DropDownList bound with ngModel:
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.
For others, I had "Can't bind to 'ngModel' since it isn't a known property of 'kendo-textbox'" as an error, and was trying to use template driven forms. The solution for me was to import FormsModule.