Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10090] MobileWeb: Textfield - does not show hintText or value and uneditable until console is opened and closed in Chrome

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2012-07-23T14:57:51.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsapi
ReporterAlexander Miller
AssigneeChris Barber
Created2012-07-23T12:36:39.000+0000
Updated2014-01-28T23:48:58.000+0000

Description

Chrome has issues with textfields.

Textfields do not show hintText or value and cannot be modified until the user has opened and closed the javascript console.

Steps to reproduce:

Step 1: run the code below for mobile web on chrome Step 2: note the single view in the window. Step 3: Notice their is no visible hintText (probable bug) Step 4: Click on the field and type, notice no text is entered into the textfield Step 5: Open the javascript console Step 6: Close the javascript console Step 7: Notice any hiddenText Step 8: Click on the field and type, notice now that the textfield works.
var win = Ti.UI.createWindow({
    backgroundColor:'#555'
});
var text = Ti.UI.createTextField({
	borderWidth: 1,
	borderColor: '#F00',
	hintText: 'required',
	width: 200,
	height: 50
});
win.add(text);
win.open();

Comments

  1. Chris Barber 2012-07-23

    This is a duplicate of TIMOB-9717.

JSON Source