[TIMOB-10913] MobileWeb: UI.TextField: passwordMask blocks hintText
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-09-24T17:35:53.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Sprint 2012-19 JS, 2012 Sprint 19 |
Components | MobileWeb |
Labels | qe-mw100112, regression |
Reporter | Dustin Hyde |
Assignee | Chris Barber |
Created | 2012-09-13T14:45:59.000+0000 |
Updated | 2013-03-13T19:08:19.000+0000 |
Description
The hintText value is blocked by passwordMask in a textField. Screenshots attached.
This is a regression. This did not occur in SDK 2.1.2.GA in Firefox.
This could not be tested in SDK 2.1.2.GA in Chrome due to TIMOB-9717.
Steps to Reproduce:
1. Run code:
var win = Ti.UI.createWindow({
backgroundColor : 'black'
});
var textField = Ti.UI.createTextField({
backgroundColor : 'white',
height : '10%',
width : '50%',
hintText : 'hintText',
passwordMask : true,
color : 'black'
});
win.add(textField);
win.open();
Actual Result:
hintText is blocked by passwordMask
Expected Result:
hintText should be visible. When text is entered in textField, the hintText should disappear and the typed text should be blocked by passwordMask.
Attachments
File | Date | Size |
---|---|---|
SDK 2.1.2 Chrome (can't focus text field).png | 2012-09-13T14:45:59.000+0000 | 301297 |
SDK 2.1.2 Firefox (expected behavior).png | 2012-09-13T14:46:00.000+0000 | 289476 |
SDK 3.0.0 Chrome (password mask on hint text).png | 2012-09-13T14:46:00.000+0000 | 300528 |
SDK 3.0.0 Firefox (password mask on hint text).png | 2012-09-13T14:46:00.000+0000 | 280686 |
tested with: SDK: 3.0.0 GA Studio:3.0.1.201212181159