Skip to content
Snippets Groups Projects
Verified Commit 9a93bccc authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #8758 remove required

parent dcf73702
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
<mat-card class="login-form" *ngIf="!loadingForm" [@myAnimation]> <mat-card class="login-form" *ngIf="!loadingForm" [@myAnimation]>
<form (ngSubmit)="login()"> <form (ngSubmit)="login()">
<mat-form-field class="input-row"> <mat-form-field class="input-row">
<input name="login" matInput placeholder="Courriel" [(ngModel)]="newLogin.mail" (keyup)="newLogin.mail=newLogin.mail.toLowerCase()" required> <input name="login" matInput placeholder="Courriel" [(ngModel)]="newLogin.mail" (keyup)="newLogin.mail=newLogin.mail.toLowerCase()">
</mat-form-field> </mat-form-field>
<mat-form-field class="input-row"> <mat-form-field class="input-row">
<input name="password" matInput placeholder="Mot de passe" type="password" [(ngModel)]="newLogin.password" required> <input name="password" matInput placeholder="Mot de passe" type="password" [(ngModel)]="newLogin.password">
</mat-form-field> </mat-form-field>
<button type="submit" mat-button (click)="login()" [disabled]="newLogin.id == '' || newLogin.password == '' || loadingConnexion">{{labelButton}}</button> <button type="submit" mat-button (click)="login()" [disabled]="newLogin.id == '' || newLogin.password == '' || loadingConnexion">{{labelButton}}</button>
</form> </form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment