JustGoscha / allmighty-autocomplete

Simple to use autocomplete directive in a module for AngularJs!
MIT License
392 stars 232 forks source link

Pass selected index to onSelect() #98

Open chuckweinberger opened 9 years ago

chuckweinberger commented 9 years ago

First, thanks for the directive. Good work!

My app allows users to have non-discrete user names. Is it possible to make an option that would pass the index of the user's selection rather than the selection itself?