charlieridley / ember-typeahead

EmberJS autocomplete component using typeahead.js
MIT License
78 stars 17 forks source link

Changed name of typeahead #3

Closed ghost closed 10 years ago

ghost commented 10 years ago

When adding more than one typeahead on a page, each with a different dataset, only the first dataset gets displayed in each typeahead. This patch changes the typeahead name to the DOM id, which fixes this problem