{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/places/issues/366","repository_url":"https://api.github.com/repos/algolia/places","labels_url":"https://api.github.com/repos/algolia/places/issues/366/labels{/name}","comments_url":"https://api.github.com/repos/algolia/places/issues/366/comments","events_url":"https://api.github.com/repos/algolia/places/issues/366/events","html_url":"https://github.com/algolia/places/issues/366","id":191779295,"number":366,"title":"Tabbing through a programmatically set <input> clears its value","user":{"login":"josephfrazier","id":6473925,"avatar_url":"https://avatars.githubusercontent.com/u/6473925?v=3","gravatar_id":"","url":"https://api.github.com/users/josephfrazier","html_url":"https://github.com/josephfrazier","followers_url":"https://api.github.com/users/josephfrazier/followers","following_url":"https://api.github.com/users/josephfrazier/following{/other_user}","gists_url":"https://api.github.com/users/josephfrazier/gists{/gist_id}","starred_url":"https://api.github.com/users/josephfrazier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephfrazier/subscriptions","organizations_url":"https://api.github.com/users/josephfrazier/orgs","repos_url":"https://api.github.com/users/josephfrazier/repos","events_url":"https://api.github.com/users/josephfrazier/events{/privacy}","received_events_url":"https://api.github.com/users/josephfrazier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-26T01:04:08Z","updated_at":"2016-11-27T16:47:39Z","closed_at":"2016-11-27T16:47:39Z","body":"<!--\r\n  Thanks for participating in this project!\r\n  Please:\r\n    - make sure you are using the latest version of the library.\r\n    - do at least one GitHub search in current issues, maybe your question is already here\r\n-->\r\n\r\nFirst off, thanks to everyone who works on this project! It's a great drop-in solution for address autocompletion 👍 \r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\n\r\nI'd like to report a ***bug***\r\n\r\n**Steps to reproduce:**\r\n\r\nJSFiddle: https://jsfiddle.net/r0zch7b3/2/\r\n\r\n* Call `places()` on an `<input>` element\r\n* Set the `<input>` element's `.value` property programmatically\r\n* Focus the `<input>` by clicking on it\r\n* Press the tab key to blur the `<input>`\r\n\r\n**What is the current behavior?**\r\n\r\nThe `<input>` is cleared.\r\n\r\n**What is the expected behavior?**\r\n\r\nThe `<input>` keep its value.\r\n\r\nFor what it's worth, this isn't fixed by passing `autocompleteOptions: {autoselect: false, autoselectOnBlur: false}`, either. Let me know if I should provide any more information."},"comment":{"url":"https://api.github.com/repos/algolia/places/issues/comments/263132648","html_url":"https://github.com/algolia/places/issues/366#issuecomment-263132648","issue_url":"https://api.github.com/repos/algolia/places/issues/366","id":263132648,"user":{"login":"josephfrazier","id":6473925,"avatar_url":"https://avatars.githubusercontent.com/u/6473925?v=3","gravatar_id":"","url":"https://api.github.com/users/josephfrazier","html_url":"https://github.com/josephfrazier","followers_url":"https://api.github.com/users/josephfrazier/followers","following_url":"https://api.github.com/users/josephfrazier/following{/other_user}","gists_url":"https://api.github.com/users/josephfrazier/gists{/gist_id}","starred_url":"https://api.github.com/users/josephfrazier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephfrazier/subscriptions","organizations_url":"https://api.github.com/users/josephfrazier/orgs","repos_url":"https://api.github.com/users/josephfrazier/repos","events_url":"https://api.github.com/users/josephfrazier/events{/privacy}","received_events_url":"https://api.github.com/users/josephfrazier/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T16:47:39Z","updated_at":"2016-11-27T16:47:39Z","body":"Thanks for the clarification. I had assumed that `autocomplete` would have been able to observe programmatic changes to the `.value` property, but that doesn't actually seem to be possible in the few quick tests I've run."}}
{"actor":{"display_login":"josephfrazier"}}