{ "id": "114548", "key": "TIMOB-13904", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T22:14:56.000+0000", "created": "2013-05-17T18:36:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity" ], "versions": [], "issuelinks": [ { "id": "28837", "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": null, "updated": "2018-04-04T23:20:27.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "*Problem*\r\nPlease can you add support of \"Hint text\" property in TextArea component also for Mobile Web? Now it is working only on Android and I don't understand why.\r\n\r\nIn my app I have a nice form with normal TextField's (with hint text) and on the end of the form I've got a TextArea, which is without hint text, so it looks inconsistent.\r\n\r\nThere is a workaround by manually checking the values, but this is inconvenient.\r\n\r\n*Workaround*\r\n{code:javascript}\r\nvar textArea = Titanium.UI.createTextArea({\r\n\tvalue : 'Enter Text',\r\n});\r\ntextArea._hintText = textArea.value;\r\n\r\ntextArea.addEventListener('focus', function(e) {\r\n\tif (e.source.value == e.source._hintText) {\r\n\t\te.source.value = \"\";\r\n\t}\r\n});\r\ntextArea.addEventListener('blur', function(e) {\r\n\tif (e.source.value == \"\") {\r\n\t\te.source.value = e.source._hintText;\r\n\t}\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: TextArea with hint text", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Safari, Chrome, FireFox ", "comment": { "comments": [ { "id": "422874", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T22:14:56.000+0000", "updated": "2017-06-26T22:14:56.000+0000" }, { "id": "436375", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:27.000+0000", "updated": "2018-04-04T23:20:27.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }