{ "id": "137797", "key": "ALOY-1164", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2014-10-08T13:24:29.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "TCSupport", "textarea", "view", "visible" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:43.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "h4. Problem Description\r\nIt is not possible to hide a view within TextArea. Properties/Methods `visible`, `hide`, `show` are basically ignored. Works fine in Classic Ti and it worked in Alloy too... (I can't say exactly in what version ,but it worked for sure...).\r\n\r\nh4. Testcase\r\nindex.js\r\n{code:javascript}\r\nfunction hideRedView(e) {\r\n\t$.redView.visible = !$.redView.visible;\r\n\tconsole.log(\"RED VIEW SHOULD BE: \" + ($.redView.visible ? \"shown\" : \"hidden\"));\r\n};\r\n\r\n$.index.open();\r\n{code}\r\n\r\nindex.xml\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t