Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19230

iOS: Ti.UI.TEXT_AUTOCAPITALIZATION_ALL does not work when using Ti.UI.KEYBOARD_NAMEPHONE_PAD

    Details

      Description

      Reproduce Steps:

      1. Simply run the following code in a classic project.

      var win = Ti.UI.createWindow({
        backgroundColor: 'white'
      });
       
      var textField = Ti.UI.createTextField({
      	autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_ALL,
      	keyboardType: Ti.UI.KEYBOARD_NAMEPHONE_PAD,
        	borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
        	color: '#336699',
        	top: 20, left: 10,
        	width: 250, height: 60,
      });
       
      win.add(textField);
      win.open();
      

      Expect Result:

      The keyboard should be locked on Ti.UI.TEXT_AUTOCAPITALIZATION_ALL

      Actual Result:

      The capitalisation does not locked.

      Note

      If remove "keyboardType: Ti.UI.KEYBOARD_NAMEPHONE_PAD,", the autocapitalisation will work well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                sliang Shuo Liang
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20150
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code