Skip to content

Commit a0039bc

Browse files
authored
fix: onInput props (#266)
1 parent adc409b commit a0039bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/InputNumber.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ class InputNumber extends React.Component<Partial<InputNumberProps>, InputNumber
702702
autoFocus,
703703
name,
704704
onPaste,
705+
onInput,
705706
...rest
706707
} = this.props;
707708
const { value, focused } = this.state;
@@ -836,6 +837,7 @@ class InputNumber extends React.Component<Partial<InputNumberProps>, InputNumber
836837
value={this.getFullNum(inputDisplayValue)}
837838
pattern={pattern}
838839
inputMode={inputMode}
840+
onInput={onInput}
839841
{...dataOrAriaAttributeProps}
840842
/>
841843
</div>

0 commit comments

Comments
 (0)