set default value to form inputs

This commit is contained in:
Peter Maquiran
2021-07-08 15:15:29 +01:00
parent b515a0454d
commit c34d7b16d9
8 changed files with 35 additions and 10 deletions
@@ -151,6 +151,12 @@ export class BookMeetingModalPage implements OnInit {
this.adding = "intervenient";
console.log(this.task);
this.getAttachments();
this.setDefaultTime()
}
setDefaultTime() {
this.postData.StartDate = new Date()
this.postData.EndDate = (new Date(new Date().getTime() + 15 * 60000))
}
getAttachments(){