{ "id": "149792", "key": "TIMOB-19230", "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": "2015-07-20T16:29:40.000+0000", "created": "2015-07-19T12:24:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "autocapitalization", "keyboardType", "textfield" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:02:58.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": "h5.Reproduce Steps:\r\n1. Simply run the following code in a classic project.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tautocapitalization: Ti.UI.TEXT_AUTOCAPITALIZATION_ALL,\r\n\tkeyboardType: Ti.UI.KEYBOARD_NAMEPHONE_PAD,\r\n \tborderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n \tcolor: '#336699',\r\n \ttop: 20, left: 10,\r\n \twidth: 250, height: 60,\r\n});\r\n\r\nwin.add(textField);\r\nwin.open();\r\n{code}\r\n\r\nh5.Expect Result:\r\nThe keyboard should be locked on Ti.UI.TEXT_AUTOCAPITALIZATION_ALL\r\n\r\nh5.Actual Result:\r\nThe capitalisation does not locked.\r\n\r\nh5.Note\r\nIf remove \"keyboardType: Ti.UI.KEYBOARD_NAMEPHONE_PAD,\", the autocapitalisation will work well.\r\n", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.TEXT_AUTOCAPITALIZATION_ALL does not work when using Ti.UI.KEYBOARD_NAMEPHONE_PAD", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": null, "comment": { "comments": [ { "id": "357985", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is native behavior: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextInputTraits_Protocol/#//apple_ref/occ/intfp/UITextInputTraits/autocapitalizationType\r\n\r\n\"Some keyboard types do not support auto-capitalization. Specifically, this option is ignored if the value in the keyboardType property is set to UIKeyboardTypeNumberPad, UIKeyboardTypePhonePad, or UIKeyboardTypeNamePhonePad.\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-20T16:29:31.000+0000", "updated": "2015-07-20T16:29:31.000+0000" }, { "id": "414404", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:02:58.000+0000", "updated": "2017-03-21T21:02:58.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }