Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10913] MobileWeb: UI.TextField: passwordMask blocks hintText

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-09-24T17:35:53.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sSprint 2012-19 JS, 2012 Sprint 19
ComponentsMobileWeb
Labelsqe-mw100112, regression
ReporterDustin Hyde
AssigneeChris Barber
Created2012-09-13T14:45:59.000+0000
Updated2013-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

FileDateSize
SDK 2.1.2 Chrome (can't focus text field).png2012-09-13T14:45:59.000+0000301297
SDK 2.1.2 Firefox (expected behavior).png2012-09-13T14:46:00.000+0000289476
SDK 3.0.0 Chrome (password mask on hint text).png2012-09-13T14:46:00.000+0000300528
SDK 3.0.0 Firefox (password mask on hint text).png2012-09-13T14:46:00.000+0000280686

Comments

  1. Anshu Mittal 2013-01-14

    tested with: SDK: 3.0.0 GA Studio:3.0.1.201212181159

JSON Source