From 4c229e994af1bd72edee111e15590baf35e55171 Mon Sep 17 00:00:00 2001 From: Fuzi_fauzia Date: Mon, 8 Jul 2024 10:31:22 +0700 Subject: [PATCH] penambahan maxleght --- .../profil-information/profil-information.component.html | 4 ++++ .../update-password/update-password.component.html | 7 +++++-- .../update-password/update-password.component.ts | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html index dcbed6a..f730f02 100644 --- a/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html +++ b/src/app/content/hemat-app/user-profile/profil-information/profil-information.component.html @@ -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 diff --git a/src/app/content/hemat-app/user-profile/update-password/update-password.component.html b/src/app/content/hemat-app/user-profile/update-password/update-password.component.html index 2fee70f..a051b13 100644 --- a/src/app/content/hemat-app/user-profile/update-password/update-password.component.html +++ b/src/app/content/hemat-app/user-profile/update-password/update-password.component.html @@ -11,7 +11,7 @@
-
+