nishantmc / angular-material-fileupload

A fileupload component based on angular-material design
MIT License
98 stars 77 forks source link

Not Working with New Angular Versions - Solution #72

Closed nlanson closed 3 years ago

nlanson commented 3 years ago

Maybe need to import the mat component modules that are in use with the component with the newer ones.

When i changed the mat component imports in your compilation file it worked.\ This:

import { MatIconModule } from '@angular/material/icon';
import { MatCardModule } from '@angular/material/card';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatButtonModule } from '@angular/material/button';

instead of:

import { MatIconModule, MatCardModule,  MatProgressBarModule, MatButtonModule }from '@angular/material';
nishantmc commented 3 years ago

Fix already got merged.