You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0053a64
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: vaadin-date-picker-flow-parent/vaadin-date-picker-flow-integration-tests/src/test/java/com/vaadin/flow/component/datepicker/ClearValueIT.java
Copy file name to clipboardExpand all lines: vaadin-date-picker-flow-parent/vaadin-date-picker-flow/src/main/java/com/vaadin/flow/component/datepicker/DatePicker.java
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -546,11 +546,19 @@ public void setValue(LocalDate value) {
546
546
547
547
super.setValue(value);
548
548
549
+
// Clear the input element from possible bad input.
549
550
if (Objects.equals(oldValue, getEmptyValue())
550
551
&& Objects.equals(value, getEmptyValue())
551
552
&& isInputValuePresent()) {
552
-
// Clear the input element from possible bad input.
0 commit comments