payload: {"action":"created","issue":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/4589","repository_url":"https://api.github.com/repos/the-control-group/voyager","labels_url":"https://api.github.com/repos/the-control-group/voyager/issues/4589/labels{/name}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/4589/comments","events_url":"https://api.github.com/repos/the-control-group/voyager/issues/4589/events","html_url":"https://github.com/the-control-group/voyager/issues/4589","id":529776191,"node_id":"MDU6SXNzdWU1Mjk3NzYxOTE=","number":4589,"title":"Only one option available for a belongsTo relationship","user":{"login":"damms005","id":9839355,"node_id":"MDQ6VXNlcjk4MzkzNTU=","avatar_url":"https://avatars2.githubusercontent.com/u/9839355?v=4","gravatar_id":"","url":"https://api.github.com/users/damms005","html_url":"https://github.com/damms005","followers_url":"https://api.github.com/users/damms005/followers","following_url":"https://api.github.com/users/damms005/following{/other_user}","gists_url":"https://api.github.com/users/damms005/gists{/gist_id}","starred_url":"https://api.github.com/users/damms005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damms005/subscriptions","organizations_url":"https://api.github.com/users/damms005/orgs","repos_url":"https://api.github.com/users/damms005/repos","events_url":"https://api.github.com/users/damms005/events{/privacy}","received_events_url":"https://api.github.com/users/damms005/received_events","type":"User","site_admin":false},"labels":[{"id":493100249,"node_id":"MDU6TGFiZWw0OTMxMDAyNDk=","url":"https://api.github.com/repos/the-control-group/voyager/labels/possible%20bug","name":"possible bug","color":"b60205","default":false,"description":null}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-11-28T08:58:35Z","updated_at":"2019-11-28T11:26:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":" - Laravel: v5.8.35\r\n - Voyager: v1.3.0\r\n - PHP: 7.2\r\n - MySQL 5.7\r\n\r\n## Description\r\n<!--- Describe the bug --->\r\nWhen editing a `Model-A` that has a belongsTo relationship with `Model-B`, only one item from `Model-B` is available for selection.\r\n\r\n## Steps To Reproduce\r\nSteps to reproduce the behavior:\r\n1. Add bread to `Model-A` and `Model-B`\r\n2. Edit `Model-A` bread to have a belongsTo relationship with `Model-B`\r\n3. Edit an existing record in `Model-A`\r\n4. Only a record in `Model-B` is available to select from dropdown\r\n\r\n## Expected behavior\r\nWhen editing the belongsTo field in `Model-A`, it should bring option for all available records in `Model-B`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/comments/559455955","html_url":"https://github.com/the-control-group/voyager/issues/4589#issuecomment-559455955","issue_url":"https://api.github.com/repos/the-control-group/voyager/issues/4589","id":559455955,"node_id":"MDEyOklzc3VlQ29tbWVudDU1OTQ1NTk1NQ==","user":{"login":"MrCrayon","id":6875243,"node_id":"MDQ6VXNlcjY4NzUyNDM=","avatar_url":"https://avatars2.githubusercontent.com/u/6875243?v=4","gravatar_id":"","url":"https://api.github.com/users/MrCrayon","html_url":"https://github.com/MrCrayon","followers_url":"https://api.github.com/users/MrCrayon/followers","following_url":"https://api.github.com/users/MrCrayon/following{/other_user}","gists_url":"https://api.github.com/users/MrCrayon/gists{/gist_id}","starred_url":"https://api.github.com/users/MrCrayon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrCrayon/subscriptions","organizations_url":"https://api.github.com/users/MrCrayon/orgs","repos_url":"https://api.github.com/users/MrCrayon/repos","events_url":"https://api.github.com/users/MrCrayon/events{/privacy}","received_events_url":"https://api.github.com/users/MrCrayon/received_events","type":"User","site_admin":false},"created_at":"2019-11-28T11:26:53Z","updated_at":"2019-11-28T11:26:53Z","author_association":"COLLABORATOR","body":"You problem means that ajax call for some reason is not working.\r\nBy design, since loading with ajax was introduced, only selected value is fetched at start all other values  are loaded with an ajax call.\r\n\r\nCheck your browser console to find any error."}}
other: {"actor":{"display_login":"MrCrayon"}}