Page 1 of 1

Force mobile numerical keyboard for input fields

Posted: Wed Apr 05, 2017 7:32 pm
by Josiel Denardi6690187

Hello,

I am trying to force the mobile numerical keyboard to pop up by default when choosing an input. I have tried adding property: number and tel which both have not worked. Any help would be much appreciated.

For Android and IOS.

Example of the keyboard in attached image.

Regards Image


Force mobile numerical keyboard for input fields

Posted: Wed Apr 05, 2017 7:39 pm
by Serhii Kulibaba

Hello Josiel,

It is impossible to control the keyboard type manually. The OS decides which keyboard to open. In most cases it opens a numerical keyboard for input components with a type = number


Force mobile numerical keyboard for input fields

Posted: Thu Apr 06, 2017 4:37 pm
by Josiel Denardi6690187

Well, the same app, in Android appears the numerica keyboard bu in IOS not. Exist any wordaround for this?


Force mobile numerical keyboard for input fields

Posted: Thu Apr 06, 2017 5:33 pm
by Serhii Kulibaba

You can control the keyboard type with an attribute "inputmode" of input components : https://developer.mozilla.org/en-US/d...