{"action":"created","issue":{"url":"https://api.github.com/repos/marmelab/react-admin/issues/1903","repository_url":"https://api.github.com/repos/marmelab/react-admin","labels_url":"https://api.github.com/repos/marmelab/react-admin/issues/1903/labels{/name}","comments_url":"https://api.github.com/repos/marmelab/react-admin/issues/1903/comments","events_url":"https://api.github.com/repos/marmelab/react-admin/issues/1903/events","html_url":"https://github.com/marmelab/react-admin/issues/1903","id":331937121,"node_id":"MDU6SXNzdWUzMzE5MzcxMjE=","number":1903,"title":"Why do i must to declare a Resource when i only want to show it as ReferenceManyField on my TabbedForm?","user":{"login":"ashkart","id":13589687,"node_id":"MDQ6VXNlcjEzNTg5Njg3","avatar_url":"https://avatars2.githubusercontent.com/u/13589687?v=4","gravatar_id":"","url":"https://api.github.com/users/ashkart","html_url":"https://github.com/ashkart","followers_url":"https://api.github.com/users/ashkart/followers","following_url":"https://api.github.com/users/ashkart/following{/other_user}","gists_url":"https://api.github.com/users/ashkart/gists{/gist_id}","starred_url":"https://api.github.com/users/ashkart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashkart/subscriptions","organizations_url":"https://api.github.com/users/ashkart/orgs","repos_url":"https://api.github.com/users/ashkart/repos","events_url":"https://api.github.com/users/ashkart/events{/privacy}","received_events_url":"https://api.github.com/users/ashkart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-13T10:35:27Z","updated_at":"2018-06-13T12:16:08Z","closed_at":"2018-06-13T12:16:08Z","author_association":"NONE","body":"When i just created the TabbedForm with references it doesnt actually displays the content of ReferenceManyField control because of crushing on error. \r\n\r\n> You are trying to display or edit a field of a resource called \"whatever\", but it has not been declared.\r\n> Declare this resource in the Admin or check the 'reference' prop of ReferenceArrayField and ReferenceManyField.\r\n\r\nBut i dont need it to be declared as resource (overage work in my case). I better prefer to add and edit those reference records inside the model's form they reference onto as item collection (but this is offtop already =D).\r\n\r\nYou can reproduce it on demo app https://codesandbox.io/s/w6r3x5nk6k, just go into the edit mode on the Features tab, then look in console output."},"comment":{"url":"https://api.github.com/repos/marmelab/react-admin/issues/comments/396916583","html_url":"https://github.com/marmelab/react-admin/issues/1903#issuecomment-396916583","issue_url":"https://api.github.com/repos/marmelab/react-admin/issues/1903","id":396916583,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkxNjU4Mw==","user":{"login":"djhi","id":1122076,"node_id":"MDQ6VXNlcjExMjIwNzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1122076?v=4","gravatar_id":"","url":"https://api.github.com/users/djhi","html_url":"https://github.com/djhi","followers_url":"https://api.github.com/users/djhi/followers","following_url":"https://api.github.com/users/djhi/following{/other_user}","gists_url":"https://api.github.com/users/djhi/gists{/gist_id}","starred_url":"https://api.github.com/users/djhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djhi/subscriptions","organizations_url":"https://api.github.com/users/djhi/orgs","repos_url":"https://api.github.com/users/djhi/repos","events_url":"https://api.github.com/users/djhi/events{/privacy}","received_events_url":"https://api.github.com/users/djhi/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T12:16:08Z","updated_at":"2018-06-13T12:16:08Z","author_association":"CONTRIBUTOR","body":"Closing this is as this is not an issue. This should be discussed on StackOverflow as specified in the issue templates. Thanks @PhenixH :)"}}
{"actor":{"display_login":"djhi"}}