{"action":"created","issue":{"url":"https://api.github.com/repos/angular/material/issues/3760","labels_url":"https://api.github.com/repos/angular/material/issues/3760/labels{/name}","comments_url":"https://api.github.com/repos/angular/material/issues/3760/comments","events_url":"https://api.github.com/repos/angular/material/issues/3760/events","html_url":"https://github.com/angular/material/issues/3760","id":95377011,"number":3760,"title":"md-item-text of autocomplete cannot be empty","user":{"login":"smileapplications","id":2022691,"avatar_url":"https://avatars.githubusercontent.com/u/2022691?v=3","gravatar_id":"","url":"https://api.github.com/users/smileapplications","html_url":"https://github.com/smileapplications","followers_url":"https://api.github.com/users/smileapplications/followers","following_url":"https://api.github.com/users/smileapplications/following{/other_user}","gists_url":"https://api.github.com/users/smileapplications/gists{/gist_id}","starred_url":"https://api.github.com/users/smileapplications/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smileapplications/subscriptions","organizations_url":"https://api.github.com/users/smileapplications/orgs","repos_url":"https://api.github.com/users/smileapplications/repos","events_url":"https://api.github.com/users/smileapplications/events{/privacy}","received_events_url":"https://api.github.com/users/smileapplications/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/material/labels/needs:%20more%20info","name":"needs: more info","color":"d7eb9f"}],"state":"open","locked":false,"assignee":{"login":"typotter","id":9689485,"avatar_url":"https://avatars.githubusercontent.com/u/9689485?v=3","gravatar_id":"","url":"https://api.github.com/users/typotter","html_url":"https://github.com/typotter","followers_url":"https://api.github.com/users/typotter/followers","following_url":"https://api.github.com/users/typotter/following{/other_user}","gists_url":"https://api.github.com/users/typotter/gists{/gist_id}","starred_url":"https://api.github.com/users/typotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typotter/subscriptions","organizations_url":"https://api.github.com/users/typotter/orgs","repos_url":"https://api.github.com/users/typotter/repos","events_url":"https://api.github.com/users/typotter/events{/privacy}","received_events_url":"https://api.github.com/users/typotter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/material/milestones/11","html_url":"https://github.com/angular/material/milestones/Backlog","labels_url":"https://api.github.com/repos/angular/material/milestones/11/labels","id":865967,"number":11,"title":"Backlog","description":"Grouping for issues that have been reviewed and require further information before assignment to milestone is possible.","creator":{"login":"ThomasBurleson","id":210413,"avatar_url":"https://avatars.githubusercontent.com/u/210413?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasBurleson","html_url":"https://github.com/ThomasBurleson","followers_url":"https://api.github.com/users/ThomasBurleson/followers","following_url":"https://api.github.com/users/ThomasBurleson/following{/other_user}","gists_url":"https://api.github.com/users/ThomasBurleson/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasBurleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasBurleson/subscriptions","organizations_url":"https://api.github.com/users/ThomasBurleson/orgs","repos_url":"https://api.github.com/users/ThomasBurleson/repos","events_url":"https://api.github.com/users/ThomasBurleson/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasBurleson/received_events","type":"User","site_admin":false},"open_issues":534,"closed_issues":142,"state":"open","created_at":"2014-11-14T00:54:02Z","updated_at":"2015-08-12T00:08:45Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-07-16T08:13:23Z","updated_at":"2015-08-13T01:36:14Z","closed_at":null,"body":"Hello everyone,\r\ni'm trying to use a md-autocomplete inside a md-chips. Everything works fine except for when I press Enter on my keyboard or select an option with my mouse, the autocomplete is filled with the md-item-text value and I cannot set it to empty. If i do it the the autocomplete is filled with [Object object].\r\n\r\nWhy ?"},"comment":{"url":"https://api.github.com/repos/angular/material/issues/comments/130499732","html_url":"https://github.com/angular/material/issues/3760#issuecomment-130499732","issue_url":"https://api.github.com/repos/angular/material/issues/3760","id":130499732,"user":{"login":"isyun","id":13371927,"avatar_url":"https://avatars.githubusercontent.com/u/13371927?v=3","gravatar_id":"","url":"https://api.github.com/users/isyun","html_url":"https://github.com/isyun","followers_url":"https://api.github.com/users/isyun/followers","following_url":"https://api.github.com/users/isyun/following{/other_user}","gists_url":"https://api.github.com/users/isyun/gists{/gist_id}","starred_url":"https://api.github.com/users/isyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isyun/subscriptions","organizations_url":"https://api.github.com/users/isyun/orgs","repos_url":"https://api.github.com/users/isyun/repos","events_url":"https://api.github.com/users/isyun/events{/privacy}","received_events_url":"https://api.github.com/users/isyun/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T01:36:14Z","updated_at":"2015-08-13T01:36:14Z","body":"We also run into similar issues in our application. Our application uses an autocomplete box to build a selection list similar to chips but as a customized list above the autocomplete box. In 0.10 release, not setting the md-item-text will clear out the text on select, which is exactly what we want. In 0.10.1, [object Object] is displayed on the autocomplete input on select. This seems to be the string form of the selected item.\r\n\r\nHere is a codepen modified from one of the demo to show the problem:\r\n   http://codepen.io/anon/pen/NqmdQd"}}