mrchandoo / cordova-plugin-decimal-keyboard

Cordova plugin to show decimal keyboard on iPhones
Apache License 2.0
37 stars 71 forks source link

Numeric Keyboard does not show up in Android #14

Open junerockwell opened 6 years ago

junerockwell commented 6 years ago

Below is the code for the input[type=text]. The keyboard works as expected on iOS, but it does not show up on Android. Therefore, I can type any character from the keyboard (non-numericals and decimal point).

<input
      type="text"
      pattern="[0-9]*"
      decimal="true"
      [attr.placeholder]="field.placeholder"
      [formControlName]="field.name" />

See Screenshot: screenshot_20180125-082402

Android Device: Samsung Galaxy S6 Android version: 7.0 Cordova: v6.5.0 AngularJS: v5 with Ionic 3.x Cordova-Android: v6.1.2 Cordova-iOS: v4.3.1

Please make an Android compatible one. This repo seems to only have one for iOS but there is nothing for Android. The community would appreciate it, thanks!