fix pattern
This commit is contained in:
parent
57d2bf97fb
commit
86492f3590
@ -127,7 +127,7 @@
|
||||
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="{{'urlshortener.code' | i18n}}" formControlName="code"
|
||||
[(ngModel)]="shortenedUrl.code" pattern="[a-zA-Z0-9]+">
|
||||
[(ngModel)]="shortenedUrl.code">
|
||||
<mat-error>
|
||||
{{'urlshortener.error.code' | i18n}}
|
||||
</mat-error>
|
||||
|
Loading…
Reference in New Issue
Block a user