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

iOS: TextField inside TableViewRow only allows 1 character if passwordMask property is true

    Details

      Description

      Problem
      When passwordMask is set to true on a textField inside a TableViewRow, the user is able to only type 1 character. When set to false or not included at all, it works just fine.

      Test case

      var win = Ti.UI.createWindow({
      	backgroundColor : "#000"
      });
       
      var tableData = [];
       
      for (var i = 1; i <= 5; i++) {
      	var row = Ti.UI.createTableViewRow({
      		className : 'passwordTest',
      		selectedBackgroundColor : 'white'
      	});
      	var input = Ti.UI.createTextField({
      		font : {
      			fontSize : 16,
      			fontFamily : 'Helvetica Neue'
      		},
      		backgroundColor : "#FFF",
      		width : 290,
      		paddingLeft : 10,
      		paddingRight : 10,
      		autocapitalization : Titanium.UI.TEXT_AUTOCAPITALIZATION_NONE,
      		autocorrect : false,
      		passwordMask : true /* Removing this or setting it to false makes the input field behave as expected */
      	});
      	row.add(input);
       
      	tableData.push(row);
      }
       
      var tableView = Ti.UI.createTableView({
      	backgroundColor : 'white',
      	data : tableData
      });
       
      win.add(tableView);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              deromemont Charles de ROMEMONT
              Reviewer:
              Sabil Rahim
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code