bstypeahead-directive

An AngularJS Directive for BootStrap Typeahead - WIP
Homepage:
1 person uses it
Author: 21292?v=2 twilson63

BootStrap Typeahead Directive

I a simple directive that wraps around the bstypeahead custom component that handles id, name typeahead objects.

In otherwords, when you have a coded table, like cities

[{ "id": 1, "name": "New York" }, { "id": 2, "name": "San Francisco" }]

And you want to store the code or "id" as your model value, but you want to the user to see the "name" presented in the input and also presented as a typeahead.

Its purpose is to be forked and extended not to be the end all be all of typeahead components. So hopefully the code is very easy to understand and it saves devs time to implement.

comments powered by Disqus
This page was last updated over 4 years ago.