Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26235] Windows : Support KEYBOARD_TYPE_NUMBER_PAD / KEYBOARD_TYPE_NUMBERS_PUNCTUATION

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionDone
Resolution Date2018-10-30T08:51:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterAminul Islam
AssigneeKota Iguchi
Created2018-07-24T18:58:32.000+0000
Updated2018-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

Comments

  1. Kota Iguchi 2018-10-30

    KEYBOARD_TYPE_NUMBERS_PUNCTUATION is 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();
       

JSON Source