{ "id": "173232", "key": "TIMOB-26923", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": null, "resolutiondate": null, "created": "2019-03-25T21:01:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": null, "updated": "2019-03-25T21:01:37.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": [], "description": "When trying to remove an array of views (or better yet, ViewProxy's) to be removed from another view you get an error (it expects a ViewProxy, got an array). \r\n\r\nWe should allow this to work as {{view.add(array)}} works as well.\r\n\r\n{code:js}\r\nvar wrapper = Ti.UI.createView();\r\nvar buttons = [];\r\nfor (var i = 0; i < 10; i++) {\r\n buttons.push(Ti.UI.createButton());\r\n}\r\n// this works\r\nwrapper.add(buttons);\r\n\r\n// this triggers error, it should work\r\nwrapper.remove(buttons);\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Allow an array of Views to be removed at once on ViewProxy", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }