{"action":"created","issue":{"url":"https://api.github.com/repos/yourlabs/django-autocomplete-light/issues/490","labels_url":"https://api.github.com/repos/yourlabs/django-autocomplete-light/issues/490/labels{/name}","comments_url":"https://api.github.com/repos/yourlabs/django-autocomplete-light/issues/490/comments","events_url":"https://api.github.com/repos/yourlabs/django-autocomplete-light/issues/490/events","html_url":"https://github.com/yourlabs/django-autocomplete-light/issues/490","id":106236775,"number":490,"title":"Autocomplete should be able to return field value","user":{"login":"hamzagul","id":9934699,"avatar_url":"https://avatars.githubusercontent.com/u/9934699?v=3","gravatar_id":"","url":"https://api.github.com/users/hamzagul","html_url":"https://github.com/hamzagul","followers_url":"https://api.github.com/users/hamzagul/followers","following_url":"https://api.github.com/users/hamzagul/following{/other_user}","gists_url":"https://api.github.com/users/hamzagul/gists{/gist_id}","starred_url":"https://api.github.com/users/hamzagul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamzagul/subscriptions","organizations_url":"https://api.github.com/users/hamzagul/orgs","repos_url":"https://api.github.com/users/hamzagul/repos","events_url":"https://api.github.com/users/hamzagul/events{/privacy}","received_events_url":"https://api.github.com/users/hamzagul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-13T20:00:04Z","updated_at":"2015-09-13T20:53:05Z","closed_at":null,"body":"Currently if any of search fields matches with typed characters that instance is returned in string/unicode representation. I have a use case in which i want autocomplete to return that field value which was matched. \r\n\r\nFor example in Enployee model if my search field was country and i typed 'United' it should return 'United Kingdom' or 'United States' instead of employee model string/unicode representation. \r\n\r\nI am not sure whether this is possible to do with current code base, if it is then please help me."},"comment":{"url":"https://api.github.com/repos/yourlabs/django-autocomplete-light/issues/comments/139917352","html_url":"https://github.com/yourlabs/django-autocomplete-light/issues/490#issuecomment-139917352","issue_url":"https://api.github.com/repos/yourlabs/django-autocomplete-light/issues/490","id":139917352,"user":{"login":"jpic","id":94636,"avatar_url":"https://avatars.githubusercontent.com/u/94636?v=3","gravatar_id":"","url":"https://api.github.com/users/jpic","html_url":"https://github.com/jpic","followers_url":"https://api.github.com/users/jpic/followers","following_url":"https://api.github.com/users/jpic/following{/other_user}","gists_url":"https://api.github.com/users/jpic/gists{/gist_id}","starred_url":"https://api.github.com/users/jpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpic/subscriptions","organizations_url":"https://api.github.com/users/jpic/orgs","repos_url":"https://api.github.com/users/jpic/repos","events_url":"https://api.github.com/users/jpic/events{/privacy}","received_events_url":"https://api.github.com/users/jpic/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T20:53:05Z","updated_at":"2015-09-13T20:53:05Z","body":"I'm not aware of any option that you could enable to implement your\nspecifications :)\n\n> autocomplete to return that field value which was matched.\n\nWhat does that even mean ?\n\nHave you read the JS API documentation ? Would definitely help\n"}}