Skip to content

Commit

Permalink
refactor(ui-time-select): fix allowNonStepInput change bug
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasf authored and HerrTopi committed May 15, 2023
1 parent d81de06 commit 6ed3e25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui-time-select/src/TimeSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ class TimeSelect extends Component<TimeSelectProps, TimeSelectState> {
this.props.step !== prevProps.step ||
this.props.format !== prevProps.format ||
this.props.locale !== prevProps.locale ||
this.props.timezone !== prevProps.timezone
this.props.timezone !== prevProps.timezone ||
this.props.allowNonStepInput !== prevProps.allowNonStepInput
) {
// options change, reset everything
// when controlled, selection will be preserved
Expand Down

0 comments on commit 6ed3e25

Please sign in to comment.