angular-strap icon indicating copy to clipboard operation
angular-strap copied to clipboard

More than one typeahead on the page, each one with a different template

Open robson-gilli opened this issue 12 years ago • 3 comments

Hi. it's well documented that it's possible to change de default url of the typeahead template in the app.config(), but I have to put 2 or 3 typeaheads directives on the same page, and the results of each one needs to be presented in totally different ways.

Is it possible?

Regards Robson

robson-gilli avatar Nov 21 '14 17:11 robson-gilli

Please check the template attribute in the docs, should work.

vmlf01 avatar Nov 21 '14 18:11 vmlf01

I see, I can use it as an attribute like data-template="template.html".

Thanks

robson-gilli avatar Nov 21 '14 18:11 robson-gilli

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 26 '19 11:01 lock[bot]