{"action":"created","issue":{"url":"https://api.github.com/repos/mizzao/meteor-autocomplete/issues/73","labels_url":"https://api.github.com/repos/mizzao/meteor-autocomplete/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/mizzao/meteor-autocomplete/issues/73/comments","events_url":"https://api.github.com/repos/mizzao/meteor-autocomplete/issues/73/events","html_url":"https://github.com/mizzao/meteor-autocomplete/pull/73","id":53213637,"number":73,"title":"Add autoSelect top-level option","user":{"login":"nmaquet","id":248304,"avatar_url":"https://avatars.githubusercontent.com/u/248304?v=3","gravatar_id":"","url":"https://api.github.com/users/nmaquet","html_url":"https://github.com/nmaquet","followers_url":"https://api.github.com/users/nmaquet/followers","following_url":"https://api.github.com/users/nmaquet/following{/other_user}","gists_url":"https://api.github.com/users/nmaquet/gists{/gist_id}","starred_url":"https://api.github.com/users/nmaquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmaquet/subscriptions","organizations_url":"https://api.github.com/users/nmaquet/orgs","repos_url":"https://api.github.com/users/nmaquet/repos","events_url":"https://api.github.com/users/nmaquet/events{/privacy}","received_events_url":"https://api.github.com/users/nmaquet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-01T05:58:39Z","updated_at":"2015-03-05T20:46:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mizzao/meteor-autocomplete/pulls/73","html_url":"https://github.com/mizzao/meteor-autocomplete/pull/73","diff_url":"https://github.com/mizzao/meteor-autocomplete/pull/73.diff","patch_url":"https://github.com/mizzao/meteor-autocomplete/pull/73.patch"},"body":"Adds a new `autoSelect` boolean option (default is `true`) that controls whether the first search result should be automatically selected or not. Setting it to `false` is useful when using token-less autocompletion for a search input (user can enter an arbitrary string and ignore the autocomplete)."},"comment":{"url":"https://api.github.com/repos/mizzao/meteor-autocomplete/issues/comments/77448123","html_url":"https://github.com/mizzao/meteor-autocomplete/pull/73#issuecomment-77448123","issue_url":"https://api.github.com/repos/mizzao/meteor-autocomplete/issues/73","id":77448123,"user":{"login":"nmaquet","id":248304,"avatar_url":"https://avatars.githubusercontent.com/u/248304?v=3","gravatar_id":"","url":"https://api.github.com/users/nmaquet","html_url":"https://github.com/nmaquet","followers_url":"https://api.github.com/users/nmaquet/followers","following_url":"https://api.github.com/users/nmaquet/following{/other_user}","gists_url":"https://api.github.com/users/nmaquet/gists{/gist_id}","starred_url":"https://api.github.com/users/nmaquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmaquet/subscriptions","organizations_url":"https://api.github.com/users/nmaquet/orgs","repos_url":"https://api.github.com/users/nmaquet/repos","events_url":"https://api.github.com/users/nmaquet/events{/privacy}","received_events_url":"https://api.github.com/users/nmaquet/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T20:46:28Z","updated_at":"2015-03-05T20:46:28Z","body":"This is really only useful when using token-less autocomplete in a field where only a predefined set of values are allowed. For instance, you can add autocomplete a \"city\" field with hundreds of possible values. Setting autoselect to true in that case guarantees that the user always selects a valid option. This is akin to how a dropdown works."}}