Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1070] iOS: Numeric and phone keypads have no return key and can't be easily dismissed on iPhone

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusClosed
ResolutionWon't Do
Resolution Date2020-02-12T11:35:41.000+0000
Affected Version/sRelease 1.6.0, Release 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterJeff Haynie
AssigneeIngo Muschenetz
Created2011-04-15T02:43:09.000+0000
Updated2020-02-12T11:35:41.000+0000

Description

numeric and phone keypads have no return key

see discussion here:

http://developer.appcelerator.com/question/30821/add-a-done-button-to-phone-keyboard#65051"> http://developer.appcelerator.com/question/30821/add-a-done-button-...

possible solution suggested here:

http://stackoverflow.com/questions/584538/how-to-show-button-done-on-number-pad-on-iphone"> http://stackoverflow.com/questions/584538/how-to-show-button-done-o...

Comments

  1. Thomas Huelbert 2011-04-15

    valid, has testcase

  2. Stephen Tramer 2012-07-25

    Test code:
       var win = Ti.UI.createWindow({
             backgroundColor: 'white'
           });
           var textArea = Ti.UI.createTextArea({
             borderWidth: 2,
             borderColor: '#bbb',
             borderRadius: 5,
             color: '#888',
             font: {fontSize:20, fontWeight:'bold'},
             keyboardType: Ti.UI.KEYBOARD_NUMBER_PAD,
             returnKeyType: Ti.UI.RETURNKEY_GO,
             textAlign: 'left',
             value: 'I am a textarea',
             top: 60,
             width: 300, height : 70
           });
           win.add(textArea);
           win.open();
       
  3. Marian Kucharcik 2017-04-11

    Hi guys, any news on this? returnKeyType is not working for Ti.UI.KEYBOARD_TYPE_PHONE_PAD... Thanks
  4. Rene Pot 2020-02-12

    Won't fix as natively it isn't supported. The proper native method of doing this is adding a toolbar to the textfield.

JSON Source