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

iOS: Textfield AutoCaps is not working on specific keyboardType.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:
    • Story Points:
      0
    • Sprint:
      2018 Sprint 09 SDK

      Description

      Issue: Textfield "autocapitalization" property is not working with specific keyboardType named keyboardType :Titanium.UI.KEYBOARD_TYPE_NAMEPHONE_PAD,

      Steps To Reproduce:
      1. Run the following test code on an iOS device
      2. Then click on textfield and check autocapitalization is not showing. If you change the keyboardType it works.

      Test Code:

      app.js

       
          var window = Ti.UI.createWindow({
              backgroundColor: 'white'
          });
       
          var textField = Ti.UI.createTextField({
              borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
              keyboardType :Titanium.UI.KEYBOARD_TYPE_NAMEPHONE_PAD,
              autocapitalization :Titanium.UI.TEXT_AUTOCAPITALIZATION_ALL,
              color: '#336699',
              width: 250,
              height: 60
          });
       
          textField.addEventListener('click', function() {
              Ti.API.info('in text field click');
          });
       
          window.add(textField);
       
          window.open();
      
      

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                morahman Motiur Rahman
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code