cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

Correct keyboard type on focus()

Open rodrigonsh opened this issue 8 years ago • 1 comments

Hi! I'm having this minor usability issue with the keyboard plugin

When i do this

next = // get next input 
next.focus()
Keyboard.show()

and the next input happens to be of type='number' .... the keyboard that appears is alphanumeric

Is there a way to specify which keyboard type should appear? like: Keyboard.show( Keyboard.NUMERIC )

Am I missing something obvious here?

Anyway thanks for the awesome plugin

rodrigonsh avatar Jun 10 '17 22:06 rodrigonsh

There was a similar question here: https://github.com/cjpearson/cordova-plugin-keyboard/issues/44

The short answer is it's possible, but you'd need to modify this plugin and be ok with accessing private APIs.

cjpearson avatar Jun 14 '17 21:06 cjpearson