Skip to content

Commit

Permalink
Fix defaultPickerValue in WeekPicker (#19141)
Browse files Browse the repository at this point in the history
  • Loading branch information
NightFox7 authored and afc163 committed Oct 29, 2019
1 parent 654a675 commit 13995bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/date-picker/WeekPicker.tsx
Expand Up @@ -143,6 +143,7 @@ class WeekPicker extends React.Component<any, WeekPickerState> {
onBlur,
id,
suffixIcon,
defaultPickerValue,
} = this.props;

const prefixCls = getPrefixCls('calendar', customizePrefixCls);
Expand Down Expand Up @@ -170,6 +171,7 @@ class WeekPicker extends React.Component<any, WeekPickerState> {
showToday={false}
disabledDate={disabledDate}
renderFooter={this.renderFooter}
defaultValue={defaultPickerValue}
/>
);
const clearIcon =
Expand Down

0 comments on commit 13995bf

Please sign in to comment.