I’m using an auto_complete_for. Is there an easy way to return the id of
the item the user selects from the list?
For example - I have an auto complete drop down that has 3 items in it.
when the user types in “p” it shows “phones” in the auto complete. When
I click enter I want to view phones so I need to pass the id to the
appropriate action. How do I pass the id using auto complete? Is there
a better way to do this?
I basically want it to work similar to the typical drop down but I also
want auto complete.