@shmu80 wrote:
I have a code as below, and I would like to customize the error message color if the input is empty, but I have no idea how to do it.
Can anybody advise?<form [ngFormModel]="loginForm"> <ion-input type="email" placeholder="Email" ngControl="email"> </ion-input> <div *ngIf="loginForm.controls.email.hasError('required') && loginForm.controls.email.touched">* Email is required!</div>
Posts: 1
Participants: 1