{ "id": "101675", "key": "TIMOB-11042", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T21:53:47.000+0000", "created": "2012-09-21T10:27:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [ { "id": "21170", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "100915", "key": "TIDOC-794", "fields": { "summary": "APIDoc: Default value for TextField.autocorrect is wrong", "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 } } } }, { "id": "21169", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "100920", "key": "TIMOB-10867", "fields": { "summary": "iOS: TextField.autocorrect reports false when not set, but behavior actually defaults to true.", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:35.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": "In MobileWeb, the TextField autocorrect behavior is always on despite setting the property to false. The code below works for Android and iOS, but not MobileWeb.\r\n\r\nREPRODUCTION:\r\n\r\nNeed to add some words to the Android user dictionary, so there is something to autocorrect:\r\nMenu [Button] -> Settings -> Language & Keyboard -> User Dictionary -> Menu [Button] -> Add\r\n\r\nRun the following code on the Android emulator:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tautocorrect: false,\r\n\twidth: Ti.UI.FILL,\r\n\tborderWidth: 1,\r\n\tborderColor: 'gray',\r\n\ttop: 10\r\n});\r\n\r\nwin.add(textField);\r\nwin.open();\r\n\r\nalert(textField.autocorrect);\r\n{code}\r\n\r\nStart spelling a word you added to the user dictionary.\r\n\r\nACTUAL RESULTS:\r\nAutocorrect will offer some assistance.\r\n\r\nEXPECTED RESULTS:\r\nAutocorrect should not show up.\r\n\r\nSIDE NOTE:\r\nAlso suffers from TIMOB-10867, where the initial default value returned is false (if left unset during creation), but the default behavior acts as if it is true. ", "attachment": [], "flagged": false, "summary": "MobileWeb: Cannot disable TextField autocorrect behavior", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 2.1.2.GA and master\r\nApple OS X v10.7.5\r\nAndroid Emulator API Level 8, v2.2", "comment": { "comments": [ { "id": "422840", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T21:53:47.000+0000", "updated": "2017-06-26T21:53:47.000+0000" }, { "id": "436431", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:35.000+0000", "updated": "2018-04-04T23:20:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }