Parcourir la source

Pagination: fix current-change

Leopoldthecoder il y a 7 ans
Parent
commit
c30d4b11d2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/pagination/src/pagination.js

+ 1 - 1
packages/pagination/src/pagination.js

@@ -242,7 +242,7 @@ export default {
               value={ this.$parent.internalCurrentPage }
               domPropsValue={ this.$parent.internalCurrentPage }
               type="number"
-              onInput={ this.handleChange }
+              onChange={ this.handleChange }
               onFocus={ this.handleFocus }
               onBlur={ this.handleBlur }
               nativeOnKeyup={ this.handleKeyUp }/>