Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8219] Mobileweb: Ti.UI.TextField `focusable` throws exception when 'true'

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-03-23T15:05:45.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsMobileWeb
Labelsmodule_textfield, mw-list, qe-port
ReporterTony Lukasavage
AssigneeBryan Hughes
Created2012-03-23T07:34:13.000+0000
Updated2012-08-09T11:54:18.000+0000

Description

Problem

Setting focusable to true on a Ti.UI.TextField cause the app the throw the following error:
Object # has no method 'add' at /index.html (line 5463)

Test case

var win = Ti.UI.createWindow({
	backgroundColor: '#fff',
	fullscreen: false,
	exitOnClose: true
});

var tf = Ti.UI.createTextField({
	focusable: true	
});

win.open();

Comments

  1. Bryan Hughes 2012-03-23

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1815/files
  2. Lokesh Choudhary 2012-08-09

    Tested On: Titanium studio : 2.1.1.201207271312 SDK version : 2.2.0.v20120809014911 Android 4.0.4 - default ,chrome 18.0 Iphone 4.3.5 - safari mobile Mountain lion(10.8) - chrome 21.0,safari 6,firefox 14.0.1

JSON Source