mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(paginator): add type button to next / prev buttons
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
{{_intl.getRangeLabel(pageIndex, pageSize, length)}}
|
||||
</div>
|
||||
|
||||
<button md-icon-button
|
||||
<button md-icon-button type="button"
|
||||
class="mat-paginator-navigation-previous"
|
||||
(click)="previousPage()"
|
||||
[attr.aria-label]="_intl.previousPageLabel"
|
||||
@@ -29,7 +29,7 @@
|
||||
[disabled]="!hasPreviousPage()">
|
||||
<div class="mat-paginator-increment"></div>
|
||||
</button>
|
||||
<button md-icon-button
|
||||
<button md-icon-button type="button"
|
||||
class="mat-paginator-navigation-next"
|
||||
(click)="nextPage()"
|
||||
[attr.aria-label]="_intl.nextPageLabel"
|
||||
|
||||
Reference in New Issue
Block a user