0
votes

How do I use only the keyboard with numeric only in Titanium Alloy (sdk 3.1.3)

because this is wrong:

KEYBOARDTYPE: Ti.UI.KEYBOARD_NUMBER_PAD
2

2 Answers

1
votes

I believe the correct syntax is

keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD
0
votes

In my app its perfect working. Try lowercase(KEYBOARDTYPE) or add returnKeyType.