Reputation: 781
Angular version : 14
OS : Linux Ubuntu
I'm using Angular Material default components like matInput, but it does not look as expected : my component looks like :
but it should looks like this :
I used the same code snippet in the documentation but I always get this issue
Upvotes: 0
Views: 282
Reputation: 781
Solved after importing MatInputModule
in app.module.ts :
import { MatInputModule } from '@angular/material/input';
Upvotes: 1