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
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
Be aware that the overridden template is applied to all the typeahead instances so all the instances will get the same styling. This is desirable most of the time to keep the consistent look & feel of an application.
In the upcoming version (0.5.0) it will be possible to customize a template for each separate match item so you will be able to customize look & feel per instance. But it made me realized that $index is not exposed to custom templates so I'm going to keep this open.
Anyway, you should be able to easily customize typeaheads to your liking today! Let me know if this does the trick for you.
@pkozlowski-opensource thank you for your advise. I have two use cases for typeahead in my webapp. Each requires a different styling based on the data.
+1 So I am looking forward to 0.5 release.
Regarding the template, it would make things very simple if we could assign a template like:
Hi,
I want to add a class to the typeahead list like this
to colorize the background of a list entry. Is this possible?
The text was updated successfully, but these errors were encountered: