Skip to content

Commit

Permalink
datepicker: updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmithakkar committed Apr 3, 2020
1 parent 72e64df commit 2d3ceca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/module/forms/datetimepicker/datetimepicker.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ export class AmexioDateTimePickerComponent extends ListBaseDatepickerComponent<s
}
this.isValid = !this.required;
this.isComponentValid.emit(!this.required);
// if (this.dateformat != null) {
// this.dateformat = 'dd/MM/yyyy';
// }
if (this.minDate.length > 0 || this.maxDate.length > 0) {
this.minMaxDateFound();
} // main if ends
Expand Down Expand Up @@ -643,7 +640,6 @@ export class AmexioDateTimePickerComponent extends ListBaseDatepickerComponent<s
}
// From ControlValueAccessor interface
writeValue(value: any) {
// value = new Date(value);
if (value !== '') {
if (value !== this.innerValue) {
this.validateWriteValue(value);
Expand Down

0 comments on commit 2d3ceca

Please sign in to comment.