Fix minlength and maxlength being reversed.

This commit is contained in:
akastijn 2025-11-23 03:59:38 +01:00
parent a6813129bb
commit ea4780cc91

View File

@ -50,7 +50,7 @@
<mat-form-field appearance="fill">
<mat-label>Discord Id</mat-label>
<input matInput placeholder="Discord ID" [(ngModel)]="discordId"
maxlength="17" minlength="18" pattern="^[0-9]+$">
minlength="17" maxlength="18" pattern="^[0-9]+$">
</mat-form-field>
<button mat-raised-button (click)="checkPunishment()" [disabled]="authService.username() == null">
Check punishments