penambahan maxleght

This commit is contained in:
2024-07-08 10:31:22 +07:00
parent 978127f2c4
commit 4c229e994a
3 changed files with 11 additions and 4 deletions

View File

@@ -15,6 +15,7 @@
id="firstName"
class="form-control"
formControlName="firstName"
maxlength="20"
placeholder="John Vander"
[ngClass]="{
'is-invalid': submitted && f.firstName.errors
@@ -37,6 +38,7 @@
id="lastName"
class="form-control"
formControlName="lastName"
maxlength="20"
placeholder="John Vander"
[ngClass]="{
'is-invalid': submitted && f.lastName.errors
@@ -60,6 +62,7 @@
class="form-control"
formControlName="email"
placeholder="email@email.com"
maxlength="50"
[ngClass]="{
'is-invalid': submitted && f.email.errors
}"
@@ -79,6 +82,7 @@
id="phone"
class="form-control"
formControlName="phone"
maxlength="13"
placeholder="08**************"
[ngClass]="{
'is-invalid': submitted && f.phone.errors