{ "id": "171612", "key": "TIMOB-26012", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-05-04T13:50:11.000+0000", "created": "2018-05-04T09:54:02.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:37:04.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Issue: Textfield \"autocapitalization\" property is not working with specific keyboardType named keyboardType :Titanium.UI.KEYBOARD_TYPE_NAMEPHONE_PAD,\r\n\r\nSteps To Reproduce:\r\n1. Run the following test code on an iOS device\r\n2. Then click on textfield and check autocapitalization is not showing. If you change the keyboardType it works.\r\n\r\nTest Code:\r\n{code:title=app.js}\r\n\r\n var window = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n });\r\n\r\n var textField = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n keyboardType :Titanium.UI.KEYBOARD_TYPE_NAMEPHONE_PAD,\r\n autocapitalization :Titanium.UI.TEXT_AUTOCAPITALIZATION_ALL,\r\n color: '#336699',\r\n width: 250,\r\n height: 60\r\n });\r\n\r\n textField.addEventListener('click', function() {\r\n Ti.API.info('in text field click');\r\n });\r\n\r\n window.add(textField);\r\n\r\n window.open();\r\n\r\n{code}\r\n\r\nThanks!", "attachment": [], "flagged": false, "summary": "iOS: Textfield AutoCaps is not working on specific keyboardType.", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.13.2\r\n\r\nNode.js\r\n Node.js Version = 8.8.0\r\n npm Version = 5.4.2\r\n\r\nTitanium CLI\r\n CLI Version = 5.1.0\r\n\r\nTitanium SDK\r\n SDK Version = 7.1.1.GA\r\n \r\nDevice: iPhone 5s v11.3\r\n", "closedSprints": [ { "id": 1028, "state": "closed", "name": "2018 Sprint 09 SDK", "startDate": "2018-04-22T22:53:08.928Z", "endDate": "2018-05-06T22:53:00.000Z", "completeDate": "2018-05-07T00:02:15.883Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "437371", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is the native iOS behavior which restricts certain keyboard types for autocapitalization. See TIMOB-19230 and the [official Apple docs|https://developer.apple.com/documentation/uikit/uitextinputtraits/1624447-autocapitalizationtype?language=objc] for details.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-04T13:50:12.000+0000", "updated": "2018-05-04T13:50:12.000+0000" }, { "id": "439934", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:04.000+0000", "updated": "2018-08-06T17:37:04.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }