0

I’m using kendo switch inside a kendo label and it is throwing error. And I have imported label module in app.module.ts as well.

import {LabelModule} from ‘@progress/kendo-angular-label’

<kendo-label text=“Initial value:”>
  <kendo-switch [(ng-model)]=“checked”></kendo-switch>
</kendo-label>


Added the import to app module file and to imports but the error is throwing like this.

Tony
  • 1
  • if you're using Angular (not AngularJs) should be `[(ngModel)]` – Eliseo Jul 21 '23 at 07:10
  • Thanks Eliseo, it’s a typo , looking for kendo label error – Tony Jul 21 '23 at 09:57
  • Tony, the modules only should be import in Modules (if you're not using standalone components). And should be imported in the module where your component is declared. NOTE I imagine that the quotes are also typo – Eliseo Jul 21 '23 at 10:05

0 Answers0