1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-23 01:30:52 +02:00

fix(#176): frontend: fix table update name error messages

Signed-off-by: Christoph Heiss <e11907069@student.tuwien.ac.at>
This commit is contained in:
Christoph Heiss 2024-06-26 18:02:50 +02:00
parent 35b188055c
commit 0926faf560
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -23,13 +23,13 @@
beerPongTableForm.controls.name.invalid &&
beerPongTableForm.controls.name.errors?.['minlength']
) {
<mat-error> Name needs to be at least one character long.</mat-error>
<mat-error> Name needs to be at least 3 characters long.</mat-error>
}
@if (
beerPongTableForm.controls.name.invalid &&
beerPongTableForm.controls.name.errors?.['maxlength']
) {
<mat-error> Name can't be more thant 200 characters.</mat-error>
<mat-error> Name can't be more than 20 characters.</mat-error>
}
</mat-form-field>
</mat-card-content>