InputNumber: add select method (#13286)

* Input: add test for `select` method

* InputNumber: add `select` method
This commit is contained in:
st-sloth
2018-11-05 16:21:24 +05:00
committed by hetech
parent f8a27565b0
commit 9d09d0dbf4
6 changed files with 65 additions and 0 deletions

View File

@@ -233,6 +233,9 @@
if (!isNaN(newVal) || value === '') {
this.setCurrentValue(newVal);
}
},
select() {
this.$refs.input.select();
}
},
mounted() {