{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/1763","repository_url":"https://api.github.com/repos/angular-ui/ui-select","labels_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1763/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1763/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1763/events","html_url":"https://github.com/angular-ui/ui-select/issues/1763","id":170866146,"number":1763,"title":"Value not updated or loaded automatically.","user":{"login":"nicolas15000","id":17199283,"avatar_url":"https://avatars.githubusercontent.com/u/17199283?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas15000","html_url":"https://github.com/nicolas15000","followers_url":"https://api.github.com/users/nicolas15000/followers","following_url":"https://api.github.com/users/nicolas15000/following{/other_user}","gists_url":"https://api.github.com/users/nicolas15000/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas15000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas15000/subscriptions","organizations_url":"https://api.github.com/users/nicolas15000/orgs","repos_url":"https://api.github.com/users/nicolas15000/repos","events_url":"https://api.github.com/users/nicolas15000/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas15000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T13:01:11Z","updated_at":"2016-08-12T19:27:49Z","closed_at":null,"body":"Hello, Iv'e got a problem related to [this](https://github.com/angular-ui/ui-select/issues/130) and [this plunker](http://plnkr.co/edit/GGawF9Etcrj1mz0eXkJH?p=preview)\r\n\r\ni have all of the latest versions ...\r\n\r\nThis is a picture of my problem : http://www.photorapide.com/images.php?photoName=12dxb1.jpg&photoId=871977\r\n\r\nThe ui select doesnt display the loaded value .\r\n\r\nThis is my UI Select code who doesnt display the loaded value:\r\n```\r\n\r\n<div class=\"input-group\">\r\n\t<span class=\"input-group-addon\">Station</span>\r\n\t\t<ui-select  theme=\"selectize\"  ng-model=\"produit.idstation\">\r\n\t\t<ui-select-match placeholder=\"Selectionnez ou Recherchez...\">{{$select.selected.nom}}</ui-select-match>\r\n<ui-select-choices repeat=\"station.nom as station in stations  | filter: {nom: $select.search}\"  value=\"{{station.id}}\">\r\n\t<div ng-bind-html=\"station.nom | highlight: $select.search\"></div>\r\n\t<small ng-bind-html=\"station.telephone | highlight: $select.search\"></small>\r\n</ui-select-choices>\r\n</ui-select>\r\n</div><br> \r\n```\r\n\r\n\r\nAnd the regular html who display correctly produit.nom automatically :\r\n\r\n```\r\n <div class=\"input-group\">\r\n\t\t\t\t\t<span class=\"input-group-addon\">Station</span>\r\n\t\t\t\t\t<select  ng-model=\"produit.idstation\" class=\"form-control \" onmousedown=\"if(this.options.length>4){this.size=4;}\"  onchange='this.size=0;' onblur=\"this.size=0;\" required>\r\n\t\t\t\t\t<option  value=\"\" >Choisir la station</option>\r\n\t\t\t\t\t\t<option ng-repeat=\"station in stations\" value=\"{{::station.id}}\">{{::station.nom}}\r\n\t\t\t\t\t\t</option> \r\n\t\t\t\t\t</select>\r\n\t\t\t\t</div><br> \r\n```\r\n\r\nPlease help, UI SELECT seems to load something, because its not empty, but the value is not displayed. The regular html automatically map station.id to station.nom and displays it  . The iller is when i copy the plunker example code into my website, it works... But i also have tried a $scope.produit.idstation=1 into the controller, it still doesn't work... I really don't understand why, tryed tons of things... Maybe it's a css problem ?\r\n\r\nThis is where the case is happening :: http://nicolash.org/pompestation/#/produits"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/comments/239538658","html_url":"https://github.com/angular-ui/ui-select/issues/1763#issuecomment-239538658","issue_url":"https://api.github.com/repos/angular-ui/ui-select/issues/1763","id":239538658,"user":{"login":"nicolas15000","id":17199283,"avatar_url":"https://avatars.githubusercontent.com/u/17199283?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas15000","html_url":"https://github.com/nicolas15000","followers_url":"https://api.github.com/users/nicolas15000/followers","following_url":"https://api.github.com/users/nicolas15000/following{/other_user}","gists_url":"https://api.github.com/users/nicolas15000/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas15000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas15000/subscriptions","organizations_url":"https://api.github.com/users/nicolas15000/orgs","repos_url":"https://api.github.com/users/nicolas15000/repos","events_url":"https://api.github.com/users/nicolas15000/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas15000/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T19:27:49Z","updated_at":"2016-08-12T19:27:49Z","body":"Hey ! Finally resolved it , it was my repeat who was mal-formed , it nows works like that :+1: \r\n`\t<p>Selected: {{produit.idstation}}</p>\r\n\t\t\t\t<ui-select  theme=\"select2\" ng-model=\"produit.idstation\"  ng-disabled=\"disabled\" style=\"min-width: 300px;\">\r\n\t\t\t\t<ui-select-match placeholder=\"Selectionnez ou Recherchez...\">{{$select.selected.nom}}</ui-select-match>\r\n\t\t\t\t\t<ui-select-choices repeat=\"station.id as station in stations  \"  >\r\n\t\t\t\t\t\t <div ng-bind-html=\"station.nom | highlight: $select.search\"></div>\r\n\t\t\t\t\t  <small ng-bind-html=\"station.id | highlight: $select.search\"></small>\r\n\t\t\t\t\t</ui-select-choices>\r\n\t\t\t\t</ui-select>\r\n\t\t\t\t<button class=\"btn btn-primary\" ng-click=\"produit.idstation = 'greh'\">Change Model</button>\r\n\t\t\t\t<span>(produit.idstation = 'greh') </span>`"}}
{"actor":{"display_login":"nicolas15000"}}