Open nacesprin opened 7 years ago
Same. Find fast solution:
In daterangepicker.js
Replace this:
if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)){
this.callback(this.startDate, this.endDate, this.chosenLabel);
}
to this:
this.callback(this.startDate, this.endDate, this.chosenLabel);
May be it bad solution, don't know what consequences can occur, but seems it work!
Using DateRangePicker, if the field is previously empty when click on "Today" date nothing appears. However, if there is any date in the input field, the "today" date works fine.
Why?