Skip to content

Commit

Permalink
Fix clear date input.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Dec 17, 2024
1 parent 6fa401c commit c9cd171
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const DatetimeWrapper = (props) => {
id,
widget === 'date' ? base.format('YYYY-MM-DD') : base.toISOString(),
);
} else {
onChange(id, undefined);
}
};

Expand Down

0 comments on commit c9cd171

Please sign in to comment.