Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8223] Mobileweb: Ti.UI.TextArea error when using `returnKeyType`

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-03-23T15:18:47.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsMobileWeb
Labelsmw-list
ReporterTony Lukasavage
AssigneeBryan Hughes
Created2012-03-23T09:08:05.000+0000
Updated2012-08-13T14:43:24.000+0000

Description

Problem

If you use the returnKeyType property with a Ti.UI.TextArea in mobileweb, you get the following error:
HIERARCHY_REQUEST_ERR: DOM Exception 3 at /index.html (line 6231)

Test case

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

var tf = Ti.UI.createTextArea({
	returnKeyType: Titanium.UI.RETURNKEY_EMERGENCY_CALL // all values seem to fail
});
win.add(tf);

win.open();

Comments

  1. Bryan Hughes 2012-03-23

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1817
  2. Lokesh Choudhary 2012-08-13

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

JSON Source