jay
jay

Reputation: 1471

Titanium Alloy only numeric keyboard

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

Upvotes: 0

Views: 1215

Answers (2)

Brant
Brant

Reputation: 1778

I believe the correct syntax is

keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD

Upvotes: 1

Andrey  Lavrenko
Andrey Lavrenko

Reputation: 1

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

Upvotes: 0

Related Questions