mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
InputNumber: add select method (#13286)
* Input: add test for `select` method * InputNumber: add `select` method
This commit is contained in:
@@ -233,6 +233,9 @@
|
||||
if (!isNaN(newVal) || value === '') {
|
||||
this.setCurrentValue(newVal);
|
||||
}
|
||||
},
|
||||
select() {
|
||||
this.$refs.input.select();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user