You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since typeahead imitates behaviour of dropdown (selecting item from the list) it is very likely that users would like to pass a some sort of value when item is selected (this would normally be some sort of id). At the moment typeahead renders a list and the only value you can access without hacking is the .text of
element:
var stateList = ["California", "Arizona", "Nevada"];
//..
<ul><lidata-value="California"><ahref="#">California</a></li></ul>
It would be a nice addition if we were able to pass some sort of id. In fact as many as you may require:
Since typeahead imitates behaviour of dropdown (selecting item from the list) it is very likely that users would like to pass a some sort of value when item is selected (this would normally be some sort of id). At the moment typeahead renders a list and the only value you can access without hacking is the .text of
It would be a nice addition if we were able to pass some sort of id. In fact as many as you may require:
The text was updated successfully, but these errors were encountered: