@@ -683,7 +683,10 @@
setSoftFocus() {
this.softFocus = true;
- (this.$refs.input || this.$refs.reference).focus();
+ const input = this.$refs.input || this.$refs.reference;
+ if (input) {
+ input.focus();
+ }
},
getValueIndex(arr = [], value) {