[TIMOB-26235] Windows : Support KEYBOARD_TYPE_NUMBER_PAD / KEYBOARD_TYPE_NUMBERS_PUNCTUATION
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Done |
| Resolution Date | 2018-10-30T08:51:13.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Aminul Islam |
| Assignee | Kota Iguchi |
| Created | 2018-07-24T18:58:32.000+0000 |
| Updated | 2018-10-30T08:51:13.000+0000 |
Description
Hello!
Can you please let me know how to show numeric keyboard on windows app on textbox or TextField?
Titanium.UI.KEYBOARD_TYPE_NUMBERS_PUNCTUATION is only available for Android and iOS.
https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI-property-KEYBOARD_TYPE_NUMBERS_PUNCTUATION
Thanks
KEYBOARD_TYPE_NUMBERS_PUNCTUATIONis already supported as of 6.2.0.GA. Note that this only works for software keyboard for Windows 10 mobile device as far as I can see.var win = Ti.UI.createWindow({ backgroundColor: 'green' }); var textfield = Ti.UI.createTextField({ keyboardType: Ti.UI.KEYBOARD_TYPE_NUMBERS_PUNCTUATION, width: '80%', height: 10 }); win.add(textfield); win.open();