+1
Beantwortet
Is it possible to use a number-only keyboard with a textfield?
I'm building an app that does some calculations from numbers in textfields. Is there a way to use a numerical keyboard instead of the normal one? Also, does a keyboard with 0-9 and a decimal point even exist in iOS? (The numbers input could have decimals in them.)
Customer support service by UserEcho
kbtype="numberpad"
Currently you can select 1.3 from the studio, but you will need to build an Ad-Hoc to see these changes until the update to fusebox is available in the App Store.
Hurry up, Apple! :)
Also, I'm using the onreturnkeypressed attribute to close my keyboard, but this doesn't work on numberpad because there's no return key. Also, tapping off the numberpad doesn't hide it either. So it's essentially open until I close the app. Any suggestions?
Unfortunately these are native keyboard types, so we can't modify them. Here is a link to all the ones that are available:
http://developer.apple.com/library/io...
At this time the keyboard action cannot specify a keyboard.
On the ipad there is no concept of a number only keypad.
I do have a feature enhancement to add the keyboard with the decimal point for the phone versions of the keyboard, which I will reach out for a timeline on. I will look into seeing what we can do about offering alternate keyboards for the ipad.
Hope this helps!