{ "id": "94470", "key": "TIMOB-9887", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-08-14T17:20:59.000+0000", "created": "2012-07-05T13:55:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "parity" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "29873", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "116544", "key": "TIMOB-14410", "fields": { "summary": "TiAPI: Add hintTextid to all views", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29871", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-14T17:20:59.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": "h1. Feature\r\nOn iOS, there is a documented hintText property for Text Areas. But there is no actual property to back it up.\r\n\r\nh2. Reproduction\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'white' });\r\nwin.add(Ti.UI.createTextArea({\r\n hintText: 'I Am HINT TEXT! *clang-clang-clang*',\r\n top: 2, right: 2, bottom: 2, left: 2, \r\n textAlign: 'left',\r\n width: 230, height: Ti.UI.SIZE,\r\n color: '#000', backgroundColor: 'transparent',\r\n font: { fontFamily: 'HelveticaNeue-Light', fontSize: 16 },\r\n borderWidth: 3, borderColor: 'transparent'\r\n});\r\nwin.open();\r\n{code}\r\n\r\nh2. Pull Request\r\nNever mind.", "attachment": [], "flagged": false, "summary": "iOS: Support hintText in Text Area (as Documented)", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "210268", "author": { "name": "edgardz", "key": "edgardz", "displayName": "Edgard Zavarezzi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Same thing here...", "updateAuthor": { "name": "edgardz", "key": "edgardz", "displayName": "Edgard Zavarezzi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-27T13:42:26.000+0000", "updated": "2012-07-27T13:42:26.000+0000" }, { "id": "215924", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "I think the documentation got updated. As mentioned here: http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.TextArea-property-hintText\r\n\r\nhintText is only for Android.\r\n\r\n", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-23T16:15:12.000+0000", "updated": "2012-08-23T16:15:12.000+0000" }, { "id": "215927", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Does that mean we can't add support for hint text to iOS text areas? It's impossibly difficult, and all hope is lost?", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-23T16:23:41.000+0000", "updated": "2012-08-23T16:23:41.000+0000" }, { "id": "215930", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "That just means that the doc was corrected to represent the actual support.\r\n\r\nI believe that this is non-trivial, because Apple supports hint text on TextFields, but not on TextViews. However, that doesn't mean it can't be done. One solution suggested for native development is to add a label as a child of the textview:\r\n\r\nhttp://stackoverflow.com/questions/1328638/placeholder-in-uitextview\r\n\r\nA significant number of votes on stack overflow suggests that this is an feature that native iOS developers would like.\r\n", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-23T16:44:31.000+0000", "updated": "2012-08-23T16:46:19.000+0000" }, { "id": "393100", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Closing as duplicate of TIMOB-13905.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-14T17:20:59.000+0000", "updated": "2016-08-14T17:20:59.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }