Here is my code.
<ion-fab-button (click)="submitForm(aluno)" [ngClass]="!tudoOk ? 'disabled' : 'enabled'" (click)="!tudoOk ? mensagemErro() : ''">
.disabled {
--background: #9CC0FF;
}
.enabled {
color: "primary";
}
this worked before I put ion-fab-button inside ion-fab-list
<ion-fab-list side="top">
Anybody knows what could be wrong?
I solved my problem! I just had to change the css as this: