penambahan maxleght
This commit is contained in:
parent
4ae3b51530
commit
28067d1704
|
@ -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}$/)]],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue