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

Android: TableView - Missing textfields for "username" and "password"

    Details

      Description

      Description:
      Unable to bring-up a soft-keyboard, since textfields for "username" and "password" are missing.

      This is a regression, does not occur on 2.1.3.

      Steps:
      1. Run the following code:

      var win = Ti.UI.createWindow({
      	backgroundColor: 'white'
      });	
      		var data = [];
      		var txtUsername = Ti.UI.createTextField({
      			left: 10,
      			right: 10,
      			hintText: 'Username',
      			borderWidth: 0,
      			borderStyle: null
      		});
      		
      		var rowUsername = Ti.UI.createTableViewRow({});
      		rowUsername.add(txtUsername);
      		data.push(rowUsername);
      		var txtPassword = Ti.UI.createTextField({
      			left: 10,
      			right: 10,
      			hintText: 'Password',
      			borderWidth: 0,
      			borderStyle: null
      		});
      		
      		var rowPassword = Ti.UI.createTableViewRow({});
      		rowPassword.add(txtPassword);
      		data.push(rowPassword);
      		var view = Ti.UI.createScrollView({
      		        contentWidth: 'auto',
      		        contentHeight: 'auto',
      		        height:480,
      		        width:320,
      		        bottom:0
      		});
      		
      		var table = Ti.UI.createTableView({
      				top:200,
      				height: 200,
      				style: Ti.UI.iPhone.TableViewStyle.GROUPED,
      				backgroundColor: 'transparent',
      				rowBackgroundColor: '#FFFFFF',
      				allowsSelection: false,
      				scrollable: false,
      				data: data,
      				moving:false
      			});
       
      		view.add(table);
      		win.add(view);
      		win.fullscreen = true;
      		win.open();
      

      Expected:
      Should see two textfields for "username" and "password"

      Actual:
      Textfields are missing

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krowley Karl Rowley
                Reporter:
                tsmolich Tamila Smolich
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code