Skip to content

Commit

Permalink
fix: #870 Selecting date from date picker breaks when DateBox is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Oct 30, 2023
1 parent 3748613 commit 17bb1ce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,9 @@ protected void doSetValue(Date value) {
withDateSelectionToggleListeners(
false,
field -> {
this.calendar.setDate(this.value);
if (nonNull(this.value)) {
this.calendar.setDate(this.value);
}
});
}

Expand Down

0 comments on commit 17bb1ce

Please sign in to comment.