From 28067d1704e7cfb5450cd2d405050a6214807fe1 Mon Sep 17 00:00:00 2001 From: Fuzi_fauzia Date: Thu, 11 Jul 2024 11:45:53 +0700 Subject: [PATCH] penambahan maxleght --- .../add-edit-master-building.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/content/hemat-app/master/master-building/add-edit-master-building/add-edit-master-building.component.ts b/src/app/content/hemat-app/master/master-building/add-edit-master-building/add-edit-master-building.component.ts index deef045..d2e1f75 100644 --- a/src/app/content/hemat-app/master/master-building/add-edit-master-building/add-edit-master-building.component.ts +++ b/src/app/content/hemat-app/master/master-building/add-edit-master-building/add-edit-master-building.component.ts @@ -48,7 +48,7 @@ export class AddEditMasterBuildingComponent { owner: ["", Validators.required], address: ["", Validators.required], phone: ["", [Validators.required, Validators.pattern(/^[0-9]{10,15}$/)]], - kwh: ["", [Validators.required, Validators.maxLength(20), Validators.pattern(/^[0-9]{10,15}$/)]], + kwh: ["", [Validators.required, Validators.maxLength(15), Validators.pattern(/^[0-9]{10,15}$/)]], }); }