Computer Science, asked by Mayankgupta7165, 10 months ago

Can't bind to 'ngmodeloptions' since it isn't a known property of 'mat-select'. 1. If 'mat-select' is an angular component and it has 'ngmodeloptions' input, then verify that it is part of this module.

Answers

Answered by husainsaqib56
1

1.   import { FormsModule } from '@angular/forms';

@NgModule({

   imports: [

        FormsModule      

   ]

in app.module.ts

2.  import {MatSelectModule} from '@angular/material/select';

@NgModule({

 imports: [

       MatSelectModule

   ]

Similar questions