mgcrea / angular-strap

AngularJS 1.2+ native directives for Bootstrap 3.
mgcrea.github.io/angular-strap
MIT License
5.73k stars 1.38k forks source link

how to set templateUrl dynamiclly for dropdown? #2268

Closed ericWenjp closed 5 years ago

ericWenjp commented 6 years ago

i try this: `<span class="tag ui-select" ng-repeat="item in ctrl.dimenList track by $index" data-animation="am-flip-x" bs-dropdown data-auto-close="false" aria-haspopup="true" aria-expanded="false" data-template-url="{{item.url}}"

{{item.indexName}} ` but console show error like this: image

how to solve this? Could you show me some example?

stubbzarelli commented 6 years ago

Have you tried without the curls braces? E.g.

data-template-url="item.url"

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lock[bot] commented 5 years ago

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.