After Angular Material Migration from 14 to 15 this error appears:
Error: NG0300: Multiple components match node with tagname button: MatButton and MatIconButton
Ideas how this can be fixed?
The reason was using mat-button and mat-icon-button on same element
<button [matMenuTriggerFor]="menu" mat-button mat-icon-button>
To resolve this just use only one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With