angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.27k stars 6.73k forks source link

uib-pagination not working with ui-bootstrap-tpls-2.2.0.js #6327

Closed shermax closed 7 years ago

shermax commented 7 years ago

uib-pagination not working with ui-bootstrap-tpls-2.2.0.js.

If I test with ui-bootstrap-tpls-0.14.3.min.js it is working fine.

Tested using html: <uib-pagination boundary-links="true" total-items="pagination.total" ng-model="pagination.currentPage" ng-change="loadList()" max-size="7" rotate="false" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"></uib-pagination>

pkozlowski-opensource commented 7 years ago

https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#you-think-youve-found-a-bug

agray commented 7 years ago

This is happening for me too. We upgraded from v1.2.5 to v2.2.0.

connectmobile commented 7 years ago

Attribute works: <ul uib-pagination> Element does not work: <uib-pagination>

https://plnkr.co/edit/3bkfNHZWNSimNC8zuiVG?p=preview

wesleycho commented 7 years ago

This was a breaking change listed in the changelog for 2.0.0 and documented usage in the docs.

jeffward01-umpg commented 7 years ago

@wesleycho They should add this to the docs. (Migration docs) @connectmobile

Attribute works:<ul uib-pagination> Element does not work: <uib-pagination>

i-am-rem commented 6 years ago

WOW!! this is so helpful!!