{ "id": "116544", "key": "TIMOB-14410", "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": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-20T02:58:57.000+0000", "created": "2013-06-27T09:12:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "hinttext", "i18n", "internationalization" ], "versions": [], "issuelinks": [ { "id": "29873", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94470", "key": "TIMOB-9887", "fields": { "summary": "iOS: Support hintText in Text Area (as Documented)", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "29872", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "114485", "key": "TIMOB-13905", "fields": { "summary": "iOS: TextArea with hint text", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-08-21T22:04:50.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": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "Currently, only {{Ti.UI.SearchBar}} has an {{hintTextid}} property. All other views that have {{hintText}} properties (e.g. {{Ti.UI.TextField}}) should have this property as well.", "attachment": [], "flagged": false, "summary": "TiAPI: Add hintTextid to all views", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Any", "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "393098", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Just ran into this issue and would like to fix it. I will expose (all lowercase to match current style):\r\n- {{Ti.UI.TextField.hinttextid}}\r\n- {{Ti.UI.AlertDialog.hinttextid}}\r\n- {{Ti.UI.AlertDialog.loginhinttextid}}\r\n- {{Ti.UI.AlertDialog.passwordhinttextid}}\r\n", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-14T17:03:20.000+0000", "updated": "2016-08-14T17:18:46.000+0000" }, { "id": "393099", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8224\r\n\r\nDemo:\r\n# Create a new project ({{appc new}})\r\n# Create the file {{app/i18n/en/strings.xml}} and copy the following into it:\r\n\r\n{code:xml}\r\n\r\n\r\n\tEnter E-Mail ...\r\n\tEnter Password ...\t\r\n\r\n{code}\r\nAfter that, copy the following into the app/controllers/index.js\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#ccc\",\r\n}); \r\n \r\nwin.add(Ti.UI.createTextField({\r\n\thinttextid: \"enter_email\",\r\n\twidth: 300,\r\n\theight: 40,\r\n\tcolor: \"#333\",\r\n\thintTextColor: \"#f00\",\r\n\tbackgroundColor: \"#fff\",\r\n\ttop: 50\r\n}));\r\n \r\nif (Ti.Platform.osname !== 'android') {\t\r\n\tvar btn = Ti.UI.createButton({\r\n\t\ttitle : \"Open Dialog\",\r\n\t\ttop: 140\r\n\t});\r\n\t \r\n\tbtn.addEventListener(\"click\", function() {\t\t\r\n\t\tvar alert = Ti.UI.createAlertDialog({\r\n\t\t\tstyle: Ti.UI.iOS.AlertDialogStyle.LOGIN_AND_PASSWORD_INPUT,\r\n\t\t\tloginhinttextid: \"enter_email\",\r\n\t\t\tpasswordhinttextid: \"enter_password\",\r\n\t\t\ttitle: \"Enter your credentials\",\r\n\t\t\tbuttonNames: [\"Cancel\", \"Send\"]\r\n\t\t});\r\n\t\talert.show();\r\n\t});\r\n\t \r\n\twin.add(btn);\r\n}\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-14T17:19:34.000+0000", "updated": "2017-01-01T15:49:58.000+0000" }, { "id": "404272", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~mchen] What exactly did not work? Did you ensure to include the localized file in your project before? And make sure your device is running the same locale as you specify in the i18n folders.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-09T08:31:25.000+0000", "updated": "2017-01-09T08:31:25.000+0000" }, { "id": "421604", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "For Windows: \r\n\r\nFirst, implement hintText for SearchBar (TIMOB-24795) \r\nThen add hinttexid to TextField and SearchBar.\r\n\r\nWe should do this for the 6.2.0 timeframe also", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-06-09T09:55:08.000+0000", "updated": "2017-06-09T09:55:08.000+0000" }, { "id": "421726", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Windows PR: https://github.com/appcelerator/titanium_mobile_windows/pull/1013", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-06-12T13:41:08.000+0000", "updated": "2017-06-12T13:41:08.000+0000" }, { "id": "426981", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*(Windows)* Fix verified in SDK Version: {{7.0.0.v20170816113226}} and SDK Version {{6.2.0.v20170816173122}}\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1013\r\n\r\n*(Android and iOS)* Fix verified in SDK Version {{6.2.0.v20170821080324}} and SDK Version 7.0.0.v20170818115004\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/8224", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-21T22:04:43.000+0000", "updated": "2017-08-21T22:04:43.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }