Skip to content

Commit

Permalink
revert code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Oct 11, 2023
1 parent a2f522f commit 4defa9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/date-picker/src/vaadin-date-picker-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ export const DatePickerMixin = (subclass) =>
if (this._nativeInput && this._nativeInput.selectionStart) {
this._nativeInput.selectionStart = this._nativeInput.selectionEnd;
}
// No need to revalidate the value after it has been just committed.
// No need to revalidate the value after `_selectedDateChanged`
// Needed in case the value was not changed: open and close dropdown,
// especially on outside click. On Esc key press, do not validate.
if (!this.value && !this._keyboardActive) {
Expand Down

0 comments on commit 4defa9d

Please sign in to comment.