Skip to content

Commit 92c8ce8

Browse files
committed
fix: fix wrong date issue when used inside ConfirmDialog
Closes vaadin-component-factory/vcf-date-range-picker-flow#19
1 parent 39ee7b5 commit 92c8ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcf-date-range-picker-mixin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ export const DateRangePickerMixin = (subclass) =>
668668
return;
669669
}
670670
this.__userInputOccurred = true;
671-
if (!this._ignoreFocusedDateChange && !this._noInput) {
671+
if (this._selectingStartDate!==undefined && !this._ignoreFocusedDateChange && !this._noInput && this.opened) {
672672
if (this._selectingStartDate) {
673673
this._applyStartInputValue(focusedDate);
674674
} else {

0 commit comments

Comments
 (0)