Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11371] Android: TableView - Missing textfields for "username" and "password"

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-11-06T17:59:14.000+0000
Affected Version/sRelease 3.0.0
Fix Version/s2012 Sprint 21 API, 2012 Sprint 21
ComponentsAndroid
Labelsapi, module_tableview, qe-and100112, qe-testadded, regression
ReporterTamila Smolich
AssigneeKarl Rowley
Created2012-10-10T23:36:46.000+0000
Updated2012-11-06T17:59:14.000+0000

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

Comments

  1. Karl Rowley 2012-10-11

    It works with the fix for [TIMOB-11320] applied -- I'm going to mark this as a duplicate
  2. Karl Rowley 2012-10-11

    Duplicate of [TIMOB-11320]
  3. Tamila Smolich 2012-10-17

    Closing as fixed. Verified and tested on: Titanium Studio, build: 3.0.0.201210151149 Titanium SDK, builds: 3.0.0.v20121017100120; 3.1.0.v20121017102121 Device: Nexus 7 (4.1.1)
  4. Ingo Muschenetz 2012-11-06

    Reopened to fix versions and labels

JSON Source