Skip to content

Commit 815c579

Browse files
committed
fix issue in max validation of positive number input component
1 parent 835a2dc commit 815c579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PositiveNumberInput/PositiveNumberInput.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class PositiveNumberInput extends React.PureComponent {
7373
}
7474

7575
render() {
76-
const props = omit(this.props, ['onValidityChange', 'max'])
76+
const props = omit(this.props, ['onValidityChange'])
7777
return <input type="number" min={0} {...props} onKeyDown={this.onKeyDown} onPaste={this.onPaste} onKeyUp={this.onKeyUp} />
7878
}
7979
}

0 commit comments

Comments
 (0)