[TIMOB-11371] Android: TableView - Missing textfields for "username" and "password"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-11-06T17:59:14.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | 2012 Sprint 21 API, 2012 Sprint 21 |
Components | Android |
Labels | api, module_tableview, qe-and100112, qe-testadded, regression |
Reporter | Tamila Smolich |
Assignee | Karl Rowley |
Created | 2012-10-10T23:36:46.000+0000 |
Updated | 2012-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
It works with the fix for [TIMOB-11320] applied -- I'm going to mark this as a duplicate
Duplicate of [TIMOB-11320]
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)
Reopened to fix versions and labels