diff --git a/src/components/input-number/input-number.vue b/src/components/input-number/input-number.vue index 5f3b034..8db1954 100644 --- a/src/components/input-number/input-number.vue +++ b/src/components/input-number/input-number.vue @@ -263,6 +263,7 @@ if (!isNaN(val) && !isEmptyString) { this.currentValue = val; + if (event.type == 'input' && val < min) return; // prevent fire early in case user is typing a bigger number. Change will handle this otherwise. if (val > max) { this.setValue(max); } else if (val < min) { -- libgit2 0.21.4