Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 0 additions & 56 deletions index.d.ts

This file was deleted.

4 changes: 3 additions & 1 deletion src/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Header extends Component {
disabledMinutes,
disabledSeconds,
onChange,
onUserInputChange,
} = this.props;

if (str) {
Expand All @@ -70,7 +71,8 @@ class Header extends Component {
if (!parsed.isValid()) {
this.setState({
invalid: true,
});
});
onUserInputChange(str)
return;
}
value
Expand Down
3 changes: 3 additions & 0 deletions src/Panel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Panel extends Component {
onKeyDown: noop,
onAmPmChange: noop,
inputReadOnly: false,
onUserInputChange:noop,
};

state = {};
Expand Down Expand Up @@ -121,6 +122,7 @@ class Panel extends Component {
secondStep,
inputReadOnly,
clearIcon,
onUserInputChange,
} = this.props;
const { value, currentSelectPanel } = this.state;
const disabledHourOptions = this.disabledHours();
Expand Down Expand Up @@ -172,6 +174,7 @@ class Panel extends Component {
onKeyDown={onKeyDown}
inputReadOnly={inputReadOnly}
clearIcon={clearIcon}
onUserInputChange={onUserInputChange}
/>
<Combobox
prefixCls={prefixCls}
Expand Down
3 changes: 3 additions & 0 deletions src/TimePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Picker extends Component {
onAmPmChange: noop,
onOpen: noop,
onClose: noop,
onUserInputChange:noop,
onFocus: noop,
onBlur: noop,
addon: noop,
Expand Down Expand Up @@ -153,6 +154,7 @@ class Picker extends Component {
minuteStep,
secondStep,
clearIcon,
onUserInputChange,
} = this.props;
const { value } = this.state;
return (
Expand Down Expand Up @@ -183,6 +185,7 @@ class Picker extends Component {
focusOnOpen={focusOnOpen}
onKeyDown={onKeyDown}
clearIcon={clearIcon}
onUserInputChange={onUserInputChange}
/>
);
}
Expand Down