Skip to content

Commit

Permalink
fix(ui): [date-ranger] fix rc-picker was not updated when manually se…
Browse files Browse the repository at this point in the history
…tting the date
  • Loading branch information
wzc520pyfm committed Oct 20, 2024
1 parent e9ec780 commit 0bc43e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/src/DateRanger/PickerPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ const InternalPickerPanel = (props: PickerPanelProps) => {
prefixCls={prefixCls}
// @ts-ignore
generateConfig={isMoment ? momentGenerateConfig : dayjsGenerateConfig}
// @ts-ignore
value={calendarValue}
disabledDate={disabledDate}
onHover={(...res) => {
onPanelHover(res[0]);
Expand Down

0 comments on commit 0bc43e6

Please sign in to comment.