penjagaan double room
This commit is contained in:
parent
9a29e2e4e0
commit
f86dfb7829
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue