{ "id": "97987", "key": "TIMOB-10132", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13870", "description": "", "name": "Sprint 2012-16 API", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-09T15:04:06.000+0000", "created": "2012-07-25T11:28:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "qe-port" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "19708", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88543", "key": "TIMOB-8212", "fields": { "summary": "MobileWeb: Cleanup textbox/field/area architecture", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-10T14:55:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h4. Internet Explorer 9 has issues applying keyboardType to Ti.UI.TextField\r\n\r\nWhen running a simple app with a textfield setting the keyboardType property, the browser has an error:\r\nError: Invalid argument this._field.type = t;\r\nIt does not crash for every keyboardType\r\n\r\nCrashes using:\r\nTi.UI.KEYBOARD_EMAIL\r\nTi.UI.KEYBOARD_NUMBER_PAD\r\nTi.UI.KEYBOARD_PHONE_PAD\r\nTi.UI.KEYBOARD_URL\r\n\r\nDo not crash:\r\nTi.UI.KEYBOARD_ASCII\r\nTi.UI.KEYBOARD_DECIMAL_PAD\r\nTi.UI.KEYBOARD_DEFAULT\r\nTi.UI.KEYBOARD_NAMEPHONE_PAD\r\nTi.UI.KEYBOARD_NUMBERS_PUNCTUATION\r\n\r\nh4. Steps to reproduce:\r\n1. Create a mobileweb project with the code below in app.js\r\n2. run on Internet Explorer 9\r\n3. Use above keyboardType values\r\n a. Ti.UI.KEYBOARD_EMAIL\r\n b. Ti.UI.KEYBOARD_NUMBER_PAD\r\n c. Ti.UI.KEYBOARD_PHONE_PAD\r\n d. Ti.UI.KEYBOARD_URL\r\n4. notice the browser gives an error and stops the app\r\n\r\nh4. Code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'#555'\r\n});\r\nvar textfield = Ti.UI.createTextField({\r\n\twidth: 100,\r\n\theight: 100,\r\n\tfontSize: 14,\r\n\tkeyboardType: Ti.UI.KEYBOARD_URL //REPLACE WITH OTHER VALUES a,b,c,d\r\n});\r\nwin.add(textfield);\r\nwin.open();\r\n{code}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "MobileWeb: Textfield - crashes in IE9 when applying certain keyboardType property values to TextField", "creator": { "name": "amiller", "key": "amiller", "displayName": "Alexander Miller", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amiller", "key": "amiller", "displayName": "Alexander Miller", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 2.2.0v20120723112115\r\nInternet Explorer 9.0.8112.16421", "comment": { "comments": [ { "id": "213226", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2692", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T14:56:45.000+0000", "updated": "2012-08-07T14:56:45.000+0000" }, { "id": "213878", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\nTitanium studio : 2.1.1.201207271312\r\nSDK version : 2.2.0.v20120810080115\r\nWin 7 - IE 9", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T14:55:16.000+0000", "updated": "2012-08-10T14:55:16.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }