You need to specify the pattern:
<input type="number" pattern="\d*"/>
As a number
can be negative or with floating point, so the - and . and , should be available in the keyboard, unless you specify a digits only pattern.
More Related Contents:
- Camera access through browser
- HTML5 Video autoplay on iPhone
- Enable Camera and Mic access in wkwebview
- Why HTML5 video doesn’t play in IOS 8 WebApp(webview)?
- How to figure out when a HTML5 video player enters the full screen mode on iOS / iPads?
- Hls video streaming on iOS/Safari
- iPhone / iOS : Presenting HTML 5 Keyboard for Postal Codes
- Is it possible to make a PhoneGap app for iOS without Mac?
- `-webkit-overflow-scrolling: touch` broken for initially offscreen elements in iOS7
- Found a strange issue. Default value of BOOL is returning TRUE for iOS 10 [closed]
- How can I debug ‘unrecognized selector sent to instance’ error
- How to change Status Bar text color in iOS
- How to set cornerRadius for only top-left and top-right corner of a UIView?
- How to validate an e-mail address in swift?
- How can I detect whether a user has an iPhone 6 Plus in standard or zoomed mode?
- Xcode 8 – IB Designables – Failed to render and update auto layout status, The agent crashed
- Location Services not working in iOS 11
- Xcode 8 build crash on iOS 9.2 and below
- Does dispatch_async(dispatch_get_main_queue(), ^{…}); wait until done?
- Swift equivalent to `[NSDictionary initWithObjects: forKeys:]`
- “Creating an image format with an unknown type is an error” with UIImagePickerController
- iOS 7 style Blur view
- ITSAppUsesNonExemptEncryption export compliance while internal testing?
- Change the color of a link in an NSMutableAttributedString
- How can I figure out which URL is being blocked by App Transport Security?
- Switching ViewControllers with UISegmentedControl in iOS5
- Swift optional chaining doesn’t work in closure
- XCFramework with Pods Dependencies
- Adding quartzcore to Xcode 4 for iOS
- Calculate all permutations of a string in Swift