Skip to content

Commit 5bd655b

Browse files
mostwiredkara
authored andcommitted
fix(paginator): add type button to next / prev buttons
1 parent 921432a commit 5bd655b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/paginator/paginator.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{_intl.getRangeLabel(pageIndex, pageSize, length)}}
2121
</div>
2222

23-
<button md-icon-button
23+
<button md-icon-button type="button"
2424
class="mat-paginator-navigation-previous"
2525
(click)="previousPage()"
2626
[attr.aria-label]="_intl.previousPageLabel"
@@ -29,7 +29,7 @@
2929
[disabled]="!hasPreviousPage()">
3030
<div class="mat-paginator-increment"></div>
3131
</button>
32-
<button md-icon-button
32+
<button md-icon-button type="button"
3333
class="mat-paginator-navigation-next"
3434
(click)="nextPage()"
3535
[attr.aria-label]="_intl.nextPageLabel"

0 commit comments

Comments
 (0)