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

Popover doesn't fetch new HTML with dynamic templateUrl

Open SHDavies opened this issue 10 years ago • 2 comments

I'm using dynamic templateUrls on ng-repeated popovers like so:

<li ng-repeat="field in fieldOptions | filter : search | orderBy:'displayName' track by $index" data-template-url="scripts/popovers/{{ field.template }}.html" data-html="true" data-placement="{{ field.dataPlacement }}" data-trigger="hover" bs-popover>

When search changes, the templateUrl values are correct for each filtered field, but the actual HTML that is displayed in the popover is the HTML at the templateUrl for the field that was originally at that position in the ng-repeat.

SHDavies avatar Mar 18 '16 17:03 SHDavies

Could you create a plunkr to reproduce this?

DaleWebb avatar Mar 31 '16 10:03 DaleWebb

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 25 '19 22:01 lock[bot]