Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Autocomplete and objects as search response
posted

Im creating an autocomplete input that searchs company employees. 

After getting a list of employees and chosing one, I need to store in a variable the selected employee, and show in the input his full name, which is a property from the selected employee object. 

So far I've had no success. After selecting an employee from the list, the input shows "[object Object]" because im setting the object for the drop down item.

Is this possible? 

Parents
No Data
Reply Children
No Data