We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 828f25c + f159137 commit bb63fb4Copy full SHA for bb63fb4
1 file changed
src/NumberPicker.jsx
@@ -91,7 +91,6 @@ let NumberPicker = React.createClass({
91
className
92
, onKeyPress
93
, onKeyUp
94
- , autoFocus
95
, ...props } = _.omit(this.props, Object.keys(propTypes))
96
, val = this.constrainValue(this.props.value)
97
@@ -144,7 +143,7 @@ let NumberPicker = React.createClass({
144
143
tabIndex={props.tabIndex}
145
placeholder={this.props.placeholder}
146
value={val}
147
- autoFocus={autoFocus}
+ autoFocus={this.props.autoFocus}
148
editing={this.state.focused}
149
format={this.props.format}
150
parse={this.props.parse}
0 commit comments