[TIMOB-8223] Mobileweb: Ti.UI.TextArea error when using `returnKeyType`
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-03-23T15:18:47.000+0000 |
| Affected Version/s | Release 2.0.0 |
| Fix Version/s | Release 2.0.0, Sprint 2012-06 |
| Components | MobileWeb |
| Labels | mw-list |
| Reporter | Tony Lukasavage |
| Assignee | Bryan Hughes |
| Created | 2012-03-23T09:08:05.000+0000 |
| Updated | 2012-08-13T14:43:24.000+0000 |
Description
Problem
If you use thereturnKeyType 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();
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1817
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