ghiden / angucomplete-alt

Autocomplete Directive for AngularJS. A fork of Daryl Rowland's angucomplete (https://github.com/darylrowland/angucomplete) with some extra features.
https://ghiden.github.io/angucomplete-alt
MIT License
943 stars 496 forks source link

Searching Array of String Values #474

Open sangaman opened 7 years ago

sangaman commented 7 years ago

I see that this functionality was confirmed not to exist in #361, but I think it would be a useful feature to implement. Currently I'm having to workaround by converting an array of strings into an array of objects which feels clunky. I'm thinking that if title-fields and search-fields are left blank, the code will attempt to treat the local-data or the response form the remote url as an array of strings instead of an array of objects.

I might be able to work on this myself at some point, but if somebody who's more familiar with the code is able to implement this that would be fantastic.

andrew-wilcox commented 6 years ago

This is my exact use case, and my exact thought process for implementation. It feels perfectly natural, would love to see this get implemented.