Skip to content

Commit

Permalink
Save date if Ok not clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolagigic committed Jan 25, 2021
1 parent bcbd8f9 commit a7898f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export function CustomFrame(props: FrameComponentProps) {
<DatePicker
showTime
value={dttmToMoment(sinceDatetime)}
onChange={(datetime: Moment) =>
onSelect={(datetime: Moment) =>
onChange('sinceDatetime', datetime.format(MOMENT_FORMAT))
}
allowClear={false}
Expand Down Expand Up @@ -188,7 +188,7 @@ export function CustomFrame(props: FrameComponentProps) {
<DatePicker
showTime
value={dttmToMoment(untilDatetime)}
onChange={(datetime: Moment) =>
onSelect={(datetime: Moment) =>
onChange('untilDatetime', datetime.format(MOMENT_FORMAT))
}
allowClear={false}
Expand Down

0 comments on commit a7898f6

Please sign in to comment.