Skip to content

Commit

Permalink
Build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwiniagre1 committed Aug 6, 2021
1 parent 7d6f8ca commit d9203aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/module/forms/datetimepicker/datetimepicker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1628,11 +1628,11 @@ export class AmexioDateTimePickerComponent extends ListBaseDatepickerComponent<s
} else {
// transforms in default date format internally MM-dd-yyyy
console.log('datestr1', this.inputRef1.nativeElement.value);
if(this.inputRef1.nativeElement.value !== ''){
if (this.inputRef1.nativeElement.value !== '') {
this.dateModel = new Date(this.inputRef1.nativeElement.value);
}else{
} else {
this.dateModel = '';
}
}
}
}
// date1 oninput1change
Expand All @@ -1657,11 +1657,11 @@ export class AmexioDateTimePickerComponent extends ListBaseDatepickerComponent<s
this.dateModel = new Date(datestr);
} else {
// transforms in default date format internally MM-dd-yyyy
if(this.inputRef1.nativeElement.value !== ''){
if (this.inputRef1.nativeElement.value !== '') {
this.dateModel = new Date(this.inputRef1.nativeElement.value);
}else{
} else {
this.dateModel = '';
}
}
}
}

Expand Down

0 comments on commit d9203aa

Please sign in to comment.