Skip to content

Commit cbda201

Browse files
committed
use type="tel" for trigger number input keyboard
1 parent 36085f9 commit cbda201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react-numeral-input.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const NumeralInput = React.createClass({
149149
render: function() {
150150
const { fmt, ...rest} = this.props;
151151
return (
152-
<input type="text" {...rest}
152+
<input type="tel" {...rest}
153153
value={this.state.value}
154154
onChange = {this.changeHandler}
155155
/>

0 commit comments

Comments
 (0)