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:
parent
35b188055c
commit
0926faf560
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue