{ "id": "166730", "key": "AC-4869", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-03-23T14:56:50.000+0000", "created": "2017-03-21T22:15:00.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T18:08:57.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Autocapitalization constant {noformat} Ti.UI.TEXT_AUTOCAPITALIZATION_WORDS {noformat} is not working on iOS devices.\r\nText typed on texfield shows no capitalization at all.\r\nAndroid is working fine.\r\n", "attachment": [ { "id": "61890", "filename": "app.js", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T16:40:47.000+0000", "size": 1591, "mimeType": "application/x-javascript" }, { "id": "61900", "filename": "test_keyboard.zip", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-23T14:56:39.000+0000", "size": 25053, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS - Ti.UI.TEXT_AUTOCAPITALIZATION_WORDS is not working", "creator": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX 10.12.3\r\nCLI version 6.1.0\r\nSDK 6.0.2.GA", "comment": { "comments": [ { "id": "414729", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can you provide a test-case (contents of a simple app.js test-case)? That would speed-up the review process, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-22T12:36:55.000+0000", "updated": "2017-03-22T12:36:55.000+0000" }, { "id": "414749", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "How can I attach files here?", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T16:34:54.000+0000", "updated": "2017-03-22T16:34:54.000+0000" }, { "id": "414750", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just paste the code here, that's fine.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-22T16:35:50.000+0000", "updated": "2017-03-22T16:35:50.000+0000" }, { "id": "414752", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is a test case.\r\nTextField with autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_WORDS not capitalizing anything. ", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T16:42:26.000+0000", "updated": "2017-03-22T16:42:26.000+0000" }, { "id": "414755", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Works for me:\r\n{code:js}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar fullName = Ti.UI.createTextField({\r\n width: 300,\r\n height: 48,\r\n autocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_WORDS,\r\n hintText: 'Full Name',\r\n backgroundColor: \"#f0f0f0\"\r\n});\r\n\r\nwin.add(fullName);\r\nwin.open();\r\n{code}\r\n\r\nMaybe one of the other properties intercepts the property? We don't do anything with the constant, just passing it to the native object.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-22T16:54:02.000+0000", "updated": "2017-03-22T16:54:02.000+0000" }, { "id": "414804", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will try to remove one property at a time. But, still, it should work with all the properties I've set.", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T17:40:06.000+0000", "updated": "2017-03-22T17:40:06.000+0000" }, { "id": "414881", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Hans I discovered that this property {noformat}keyboardType: Ti.UI.KEYBOARD_TYPE_NAMEPHONE_PAD{noformat} makes autocapitalization stop working.\r\nIs there a workaround for this?", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T19:46:24.000+0000", "updated": "2017-03-22T19:46:24.000+0000" }, { "id": "415289", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey Caio, sorry to say that but it looks like native behavior. iOS seems to disallow word-capitalization of words when using this specific keyboard type. Native test-project attached to this ticket. To workaround the native limitation, you could check the words and capitalize them manually. I may be able to help you there, but please try it before. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-23T14:56:27.000+0000", "updated": "2017-03-23T14:56:27.000+0000" }, { "id": "415321", "author": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hans, thanks for the fast feedback. I will see what I can do here to workaround this.", "updateAuthor": { "name": "perdona", "key": "perdona", "displayName": "Caio Perdona", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T18:08:57.000+0000", "updated": "2017-03-23T18:08:57.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }