Skip to content

Commit 97889f4

Browse files
committed
need to disable the text entry, when loading.
1 parent 4ef9c43 commit 97889f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pagination-input.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@
7171
</juicy-select>
7272
<paper-icon-button icon="icons:first-page" on-click="_onFirstPageBtnClick" disabled$="[[_shouldDisablePreviousPageBtns(currentPage,loading)]]"></paper-icon-button>
7373
<paper-icon-button icon="icons:chevron-left" on-click="_onPreviousPageBtnClick" disabled$="[[_shouldDisablePreviousPageBtns(currentPage,loading)]]"></paper-icon-button>
74-
<paper-input id="input" type="number" on-change="_onInputValueChange" no-label-float="true" min="1" max$="[[pageCount]]" auto-validate allowed-pattern="[0-9]">
75-
</paper-input>
74+
<paper-input id="input" type="number" on-change="_onInputValueChange" no-label-float="true" min="1" max$="[[pageCount]]" auto-validate allowed-pattern="[0-9]" disabled$="[[loading]]" />
7675
<div id="suffix">/[[pageCount]]</div>
7776
<paper-icon-button icon="icons:chevron-right" on-click="_onNextPageBtnClick" disabled$="[[_shouldDisableNextPageBtns(currentPage,pageCount,loading)]]"></paper-icon-button>
7877
<paper-icon-button icon="icons:last-page" on-click="_onLastPageBtnClick" disabled$="[[_shouldDisableNextPageBtns(currentPage,pageCount,loading)]]"></paper-icon-button>

0 commit comments

Comments
 (0)