{"action":"opened","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/6868","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/6868/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/6868/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/6868/events","html_url":"https://github.com/magento/magento2/issues/6868","id":180851385,"number":6868,"title":"Widget parameter depends does not work on specified block","user":{"login":"LordHansolo","id":22025597,"avatar_url":"https://avatars.githubusercontent.com/u/22025597?v=3","gravatar_id":"","url":"https://api.github.com/users/LordHansolo","html_url":"https://github.com/LordHansolo","followers_url":"https://api.github.com/users/LordHansolo/followers","following_url":"https://api.github.com/users/LordHansolo/following{/other_user}","gists_url":"https://api.github.com/users/LordHansolo/gists{/gist_id}","starred_url":"https://api.github.com/users/LordHansolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LordHansolo/subscriptions","organizations_url":"https://api.github.com/users/LordHansolo/orgs","repos_url":"https://api.github.com/users/LordHansolo/repos","events_url":"https://api.github.com/users/LordHansolo/events{/privacy}","received_events_url":"https://api.github.com/users/LordHansolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T09:58:33Z","updated_at":"2016-10-04T09:58:33Z","closed_at":null,"body":"### Preconditions\r\n1. Magento 2.1.1\r\n\r\n### Steps to reproduce\r\n\r\n1. Create Module adding Custom Widget\r\n2. Add Parameter like `<parameter name=\"catalog_url\" xsi:type=\"block\" visible=\"true\" required=\"true\" sort_order=\"33\">\r\n                <label translate=\"true\">Category</label>\r\n                <depends>\r\n                    <parameter name=\"enable_url\" value=\"1\" />\r\n                    <parameter name=\"target_url\" value=\"1\" />\r\n                </depends>\r\n                <block class=\"Magento\\Catalog\\Block\\Adminhtml\\Category\\Widget\\Chooser\">\r\n                    <data>\r\n                        <item name=\"button\" xsi:type=\"array\">\r\n                            <item name=\"open\" xsi:type=\"string\" translate=\"true\">Select Category...</item>\r\n                        </item>\r\n                    </data>\r\n                </block>\r\n            </parameter>`\r\n![parameter_depends](https://cloud.githubusercontent.com/assets/22025597/19070025/b0def80e-8a29-11e6-8ab0-2a8ca5a8b0bb.png)\r\nIt is important to use block class=\"Magento\\Catalog\\Block\\Adminhtml\\Category\\Widget\\Chooser\" or block class=\"Magento\\Catalog\\Block\\Adminhtml\\Product\\Widget\\Chooser\".\r\n3. Set any custom depends.\r\n4. Go to admin panel. Add your widget. In widget options change parameter that our parameter depends on.\r\n\r\n### Expected result\r\nOur Parameter disappear, if conditions set on depends are not met.\r\n### Actual result\r\nParameter is visible anyway.\r\n\r\n"}}
{"actor":{"display_login":"LordHansolo"}}