Skip to content
Snippets Groups Projects
Verified Commit 150b4f1c authored by Lukas Maximilian Kimpel's avatar Lukas Maximilian Kimpel
Browse files

Update button to not submit the form

parent 6c662b1c
No related merge requests found
......@@ -14,5 +14,5 @@
<mat-error *ngIf="passwordFormControl.hasError('required')">Password is <strong>required</strong>.</mat-error>
</mat-form-field>
<button mat-raised-button color="primary" type="submit">Login</button>
<button mat-raised-button *ngIf="role === UserRole.PARTICIPANT" (click)="guestLogin()">Login as guest</button>
<button mat-raised-button *ngIf="role === UserRole.PARTICIPANT" (click)="guestLogin()" type="button">Login as guest</button>
</form>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment