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

Android: passwordMask and keyboardType

    Details

      Description

      The Problem:

      Setting the passwordMask on a textfield works as expected. Setting the keyboardType also works as expected. When both properties are together, the keyboardType gets ignored.

      The Code:

      var win = Ti.UI.createWindow({
      	backgroundColor:'#ccc'
      });
       
      var pinTextField = Ti.UI.createTextField({
      	color:'#333333', value: '',
      	textAlign:'center',
      	passwordMask:true,
      	width:200,
      	height:100,
      	keyboardType:Titanium.UI.KEYBOARD_PHONE_PAD,
      	borderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
      	font:{fontSize:12}
      });
       
      win.add(pinTextField);
       
      win.open();
      

      The Ticket:

      Associated Helpdesk ticket: APP-876152

        Attachments

          Activity

            People

            • Assignee:
              billdawson Bill Dawson
              Reporter:
              penrique Pedro Enrique (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration