penambahan maxleght
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user