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