You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There you see the syntax of a material Button which leads to div tags inside a button tag which is not a valid html structure.
Fix
Replace the 2 divs with a span for valid html <span class="mat-button-wrapper"><ng-content></ng-content></span> <span matRipple class="mat-button-ripple" [class.mat-button-ripple-round]="isRoundButton || isIconButton" [matRippleDisabled]="_isRippleDisabled()" [matRippleCentered]="isIconButton" [matRippleTrigger]="_getHostElement()"></span> <span class="mat-button-focus-overlay"></span>
The text was updated successfully, but these errors were encountered:
Reproduction
Steps to reproduce:
Fix
Replace the 2 divs with a span for valid html
<span class="mat-button-wrapper"><ng-content></ng-content></span> <span matRipple class="mat-button-ripple" [class.mat-button-ripple-round]="isRoundButton || isIconButton" [matRippleDisabled]="_isRippleDisabled()" [matRippleCentered]="isIconButton" [matRippleTrigger]="_getHostElement()"></span> <span class="mat-button-focus-overlay"></span>
The text was updated successfully, but these errors were encountered: