Issue
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
Solution
Solved after importing MatInputModule
in app.module.ts :
import { MatInputModule } from '@angular/material/input';
Answered By - Wahéb
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.