Skip to content

Commit 2bf567b

Browse files
committed
Fix inline date picker value not updating
1 parent facfbb8 commit 2bf567b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/components/DatePicker/DatePickerComponent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const DatePickerComponent: React.FC<React.PropsWithChildren<Props>> = ({
1818
<DateTimePicker
1919
date={value}
2020
mode={mode}
21-
onDateChange={onChange}
21+
onDateChange={(date) => onChange(null, date)}
2222
minimumDate={minimumDate}
2323
maximumDate={maximumDate}
2424
/>

0 commit comments

Comments
 (0)