We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8495717 commit d3a100fCopy full SHA for d3a100f
daterangepicker.js
@@ -1324,6 +1324,8 @@
1324
}
1325
this.endDate = null;
1326
this.setStartDate(date.clone());
1327
+
1328
+ this.element.trigger('selected.date.start', this);
1329
} else if (!this.endDate && date.isBefore(this.startDate)) {
1330
//special case: clicking the same date for start/end,
1331
//but the time of the end date is before the start date
@@ -1349,6 +1351,8 @@
1349
1351
if (this.autoApply) {
1350
1352
this.calculateChosenLabel();
1353
this.clickApply();
1354
+ } else {
1355
+ this.element.trigger('selected.date.end', this);
1356
1357
1358
0 commit comments