{"action":"created","issue":{"url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect/issues/439","repository_url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect","labels_url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect/issues/439/comments","events_url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect/issues/439/events","html_url":"https://github.com/dotansimha/angularjs-dropdown-multiselect/issues/439","id":274403449,"number":439,"title":"Model Does Not Include 'label' field","user":{"login":"JhonJ3","id":33711582,"avatar_url":"https://avatars3.githubusercontent.com/u/33711582?v=4","gravatar_id":"","url":"https://api.github.com/users/JhonJ3","html_url":"https://github.com/JhonJ3","followers_url":"https://api.github.com/users/JhonJ3/followers","following_url":"https://api.github.com/users/JhonJ3/following{/other_user}","gists_url":"https://api.github.com/users/JhonJ3/gists{/gist_id}","starred_url":"https://api.github.com/users/JhonJ3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JhonJ3/subscriptions","organizations_url":"https://api.github.com/users/JhonJ3/orgs","repos_url":"https://api.github.com/users/JhonJ3/repos","events_url":"https://api.github.com/users/JhonJ3/events{/privacy}","received_events_url":"https://api.github.com/users/JhonJ3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-16T05:59:34Z","updated_at":"2018-03-27T18:34:38Z","closed_at":"2017-11-16T06:59:09Z","author_association":"NONE","body":"When I try to select any options from the drop-down and then print the model in the console, I see select options with 'id' fields only. The label field is missing in each of the selected objects.\r\n\r\n//JavaScript\r\n```\r\n$scope.example1model = [];\r\n$scope.example1data = [{\r\n\t\t\tid: 1,\r\n\t\t\tlabel: \"David\"\r\n\t\t}, {\r\n\t\t\tid: 2,\r\n\t\t\tlabel: \"Jhon\"\r\n\t\t}, {\r\n\t\t\tid: 3,\r\n\t\t\tlabel: \"Danny\"\r\n\t\t}];\r\n```\r\n\r\n//HTML\r\n`<div ng-dropdown-multiselect=\"\" options=\"example1data\" selected-model=\"example1model\"></div>`\r\n\r\n![consolelog](https://user-images.githubusercontent.com/33711582/32876114-28b76b48-cabd-11e7-888d-751fae809a80.jpg)\r\n![selectedmodel](https://user-images.githubusercontent.com/33711582/32876115-28e3fa32-cabd-11e7-9207-55423c94d085.jpg)"},"comment":{"url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect/issues/comments/376629704","html_url":"https://github.com/dotansimha/angularjs-dropdown-multiselect/issues/439#issuecomment-376629704","issue_url":"https://api.github.com/repos/dotansimha/angularjs-dropdown-multiselect/issues/439","id":376629704,"user":{"login":"johnmay1","id":22088585,"avatar_url":"https://avatars1.githubusercontent.com/u/22088585?v=4","gravatar_id":"","url":"https://api.github.com/users/johnmay1","html_url":"https://github.com/johnmay1","followers_url":"https://api.github.com/users/johnmay1/followers","following_url":"https://api.github.com/users/johnmay1/following{/other_user}","gists_url":"https://api.github.com/users/johnmay1/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmay1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmay1/subscriptions","organizations_url":"https://api.github.com/users/johnmay1/orgs","repos_url":"https://api.github.com/users/johnmay1/repos","events_url":"https://api.github.com/users/johnmay1/events{/privacy}","received_events_url":"https://api.github.com/users/johnmay1/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T18:34:38Z","updated_at":"2018-03-27T18:34:38Z","author_association":"NONE","body":"[Solution is here ](https://github.com/dotansimha/angularjs-dropdown-multiselect/issues/365)"}}
{"actor":{"display_login":"johnmay1"}}