Skip to content

Commit

Permalink
fix(pagination.html): Limits pagination page number to integers only
Browse files Browse the repository at this point in the history
fix #6596
  • Loading branch information
Krystian authored and mportuga committed Mar 20, 2018
1 parent 94dbf4d commit d7eca11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/pagination/templates/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
ng-model="grid.options.paginationCurrentPage"
min="1"
max="{{ paginationApi.getTotalPages() }}"
step="1"
required />
<span
class="ui-grid-pager-max-pages-number"
Expand Down

0 comments on commit d7eca11

Please sign in to comment.