{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/nova-issues/issues/929","repository_url":"https://api.github.com/repos/laravel/nova-issues","labels_url":"https://api.github.com/repos/laravel/nova-issues/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/laravel/nova-issues/issues/929/comments","events_url":"https://api.github.com/repos/laravel/nova-issues/issues/929/events","html_url":"https://github.com/laravel/nova-issues/issues/929","id":376995029,"node_id":"MDU6SXNzdWUzNzY5OTUwMjk=","number":929,"title":"Nova change sub category on category change","user":{"login":"sumbria","id":6416992,"node_id":"MDQ6VXNlcjY0MTY5OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/6416992?v=4","gravatar_id":"","url":"https://api.github.com/users/sumbria","html_url":"https://github.com/sumbria","followers_url":"https://api.github.com/users/sumbria/followers","following_url":"https://api.github.com/users/sumbria/following{/other_user}","gists_url":"https://api.github.com/users/sumbria/gists{/gist_id}","starred_url":"https://api.github.com/users/sumbria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumbria/subscriptions","organizations_url":"https://api.github.com/users/sumbria/orgs","repos_url":"https://api.github.com/users/sumbria/repos","events_url":"https://api.github.com/users/sumbria/events{/privacy}","received_events_url":"https://api.github.com/users/sumbria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T23:11:47Z","updated_at":"2018-11-02T23:11:47Z","closed_at":null,"author_association":"NONE","body":"I have 2 dropdowns:\r\n1. Dropdown getting data from model - **Category**\r\n2. Dropdown getting data from model - **SubCategory**\r\n\r\n```\r\nclass Category extends Model\r\n{\r\n\tpublic function sub_categories()\r\n        {\r\n            return $this->hasMany(SubCategory::class);\r\n        }\r\n}\r\n\r\n```\r\n\r\nHow can I change sub categories on category change?\r\n\r\n![Nova Category Change](http://www.clipular.com/c/6618609615634432.png?k=1MdI82B1nogOkG2TkXzjPIdNBg0)\r\n\r\n\r\nAny suggestions would be highly appreciated. Thank you."}}
{"actor":{"display_login":"sumbria"}}