penjagaan double room

This commit is contained in:
Fuzi_fauzia 2024-07-18 14:35:07 +07:00
parent 9a29e2e4e0
commit f86dfb7829
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ export class AddEditListComponent {
dataMasterStatus: any;
roombuildingId: any;
dataRoomBuilding: any;
disableButton: boolean = false;
disableButton: boolean = true;
// userProfileForm: FormGroup;
public userList: FormArray;
@ -78,12 +78,12 @@ export class AddEditListComponent {
addPhone() {
this.userList.push(this.createRoom());
this.disableButton = true
}
removePhone(index) {
this.userList.removeAt(index);
this.isRoomDuplicate(index)
}
validateDouble(event: any, index: number) {