Open AnnaShk opened 5 years ago
Hi,
I'm using version 2.1.1 of ngx-daterangepicker-material with angular 6 and have an issue with setup [minDate] for singleDatePicker.
[minDate]
Component:
... ngOnInit() { this.minimumDate = moment(); } ...
HTML:
<input type="text" class="form-control" id="dateInputMain" matInput ngxDaterangepickerMd [minDate]="minimumDate" [singleDatePicker]="true" [timePicker]="true" [timePickerIncrement]="1" [(ngModel)]="date" (datesUpdated)="onDateChange($event)" />
As a result when I open the input the minimum date is set, but time is empty:
Could you please take a look at that?
same issue
Hi,
I'm using version 2.1.1 of ngx-daterangepicker-material with angular 6 and have an issue with setup
[minDate]
for singleDatePicker.Component:
HTML:
As a result when I open the input the minimum date is set, but time is empty:
Could you please take a look at that?