{"action":"created","issue":{"url":"https://api.github.com/repos/ng-select/ng-select/issues/298","repository_url":"https://api.github.com/repos/ng-select/ng-select","labels_url":"https://api.github.com/repos/ng-select/ng-select/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/ng-select/ng-select/issues/298/comments","events_url":"https://api.github.com/repos/ng-select/ng-select/issues/298/events","html_url":"https://github.com/ng-select/ng-select/issues/298","id":300704106,"number":298,"title":"Request to Improvement Auto Fill(Auto select if single option)","user":{"login":"SunilKumar5","id":10886648,"avatar_url":"https://avatars1.githubusercontent.com/u/10886648?v=4","gravatar_id":"","url":"https://api.github.com/users/SunilKumar5","html_url":"https://github.com/SunilKumar5","followers_url":"https://api.github.com/users/SunilKumar5/followers","following_url":"https://api.github.com/users/SunilKumar5/following{/other_user}","gists_url":"https://api.github.com/users/SunilKumar5/gists{/gist_id}","starred_url":"https://api.github.com/users/SunilKumar5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunilKumar5/subscriptions","organizations_url":"https://api.github.com/users/SunilKumar5/orgs","repos_url":"https://api.github.com/users/SunilKumar5/repos","events_url":"https://api.github.com/users/SunilKumar5/events{/privacy}","received_events_url":"https://api.github.com/users/SunilKumar5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T16:37:41Z","updated_at":"2018-02-28T19:35:30Z","closed_at":null,"author_association":"NONE","body":"Please fill below information if issuing a bug report. \r\n### Expected behaviour\r\nAfter filtering the options based on input values. If only one option is left it should auto select the option.\r\n\r\n### Actual behaviour\r\nRight now the user has to click enter to make the option selected even there is a single option.\r\n\r\n### More Info\r\nThis might not be a default functionality but can be added as a feature by setting a Boolean parameter\r\nng-select version: 0.23.1\r\n\r\nbrowser: chrome\r\n\r\nreproducible in demo page: Not Applicable\r\n"},"comment":{"url":"https://api.github.com/repos/ng-select/ng-select/issues/comments/369356716","html_url":"https://github.com/ng-select/ng-select/issues/298#issuecomment-369356716","issue_url":"https://api.github.com/repos/ng-select/ng-select/issues/298","id":369356716,"user":{"login":"varnastadeus","id":17824796,"avatar_url":"https://avatars2.githubusercontent.com/u/17824796?v=4","gravatar_id":"","url":"https://api.github.com/users/varnastadeus","html_url":"https://github.com/varnastadeus","followers_url":"https://api.github.com/users/varnastadeus/followers","following_url":"https://api.github.com/users/varnastadeus/following{/other_user}","gists_url":"https://api.github.com/users/varnastadeus/gists{/gist_id}","starred_url":"https://api.github.com/users/varnastadeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varnastadeus/subscriptions","organizations_url":"https://api.github.com/users/varnastadeus/orgs","repos_url":"https://api.github.com/users/varnastadeus/repos","events_url":"https://api.github.com/users/varnastadeus/events{/privacy}","received_events_url":"https://api.github.com/users/varnastadeus/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T19:35:30Z","updated_at":"2018-02-28T19:35:30Z","author_association":"COLLABORATOR","body":"@SunilKumar5 why item should be selected? Usually when you search, you don't know what you looking for, so selecting item sounds very confusing and unintuitive. I don't see much value in this feature and I doubt that we will support it. What do you think @anjmao?\r\n\r\nAnyway you could achieve this with `typeahead` custom search, just set your `NgModel` with the value left after filtering."}}
{"actor":{"display_login":"varnastadeus"}}