{ "id": "116052", "key": "TIMOB-14255", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-26T20:35:26.000+0000", "created": "2013-06-17T14:53:36.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "keyboardtype", "tableview", "textfield" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-26T20:35:26.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": "*Problem*\r\nOn iOS, when you create a Textfield that doesn't have a height set and then add it to a TableView, the keyboard doesn't perform the standard way. When you press the \".?123\" key, it shows the number/symbol keyboard view.\r\n\r\n*Actual result*\r\nAfter pressing one key it goes back automatically to the \"ABC\" keyboard, which provides for a poor UX when you want to type in multiple numbers.\r\n\r\n*Expected result*\r\nThe default behavior is for it to stay in this keyboard view until you press \"ABC\" to go back to the letters keyboard.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\n\r\nwin.add(Ti.UI.createTextField({\r\n\ttop : 0,\r\n\tleft : 0,\r\n\tright : 0,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n}));\r\n\r\nvar table = Ti.UI.createTableView({\r\n\ttop : 60,\r\n\tleft : 0,\r\n\tright : 0,\r\n\theight : 50\r\n});\r\nvar row = Ti.UI.createTableViewRow({\r\n\theight : 50\r\n});\r\nrow.add(Ti.UI.createTextField({\r\n\ttop : 0,\r\n\tleft : 0,\r\n\tright : 0,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n}));\r\ntable.setData([row]);\r\nwin.add(table);\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Note*\r\nNotice that the top textfield, which is not within the tableview, performs correctly. The textfield below that, which is within the tableview, doesn't maintain the \".?123\" keyboard as you type. \r\n\r\n*Workaround*\r\nAdd a height to the textfield within the tableview and then it will maintain the proper keyboard view.", "attachment": [], "flagged": false, "summary": "iOS: TextField keyboard doesn't maintain number/symbol view when in TableView if TextField doesn't have height set", "creator": { "name": "jtoth", "key": "jtoth", "displayName": "Justin Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jtoth", "key": "jtoth", "displayName": "Justin Toth", "active": true, "timeZone": "America/New_York" }, "environment": "iOS", "comment": { "comments": [ { "id": "258209", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with Ti SDK 3.2 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-17T18:37:43.000+0000", "updated": "2013-06-17T18:37:43.000+0000" }, { "id": "422826", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T20:35:26.000+0000", "updated": "2017-06-26T20:35:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }