fix date picker

This commit is contained in:
Peter Maquiran
2023-08-22 08:35:44 +01:00
parent 9aa7928d89
commit 2ae96bda02
10 changed files with 115 additions and 5 deletions
+12
View File
@@ -125,6 +125,18 @@ export class SearchPage implements OnInit {
}
}
ngOnDestroy() {
clearInterval(this.myInterval)
}
myInterval = setInterval(() => {
document.querySelectorAll('.ngx-mat-timepicker input').forEach((e :any) => {
if(e) {
e.disabled = true;
}
})
}, 1000);
selectItem(item: SearchList) {
if (this.select) {
this.modalController.dismiss({