import Vue from 'vue'; import _ from "lodash"; export default Vue.extend({ computed: { select(): any { return this.$refs.input; }, }, methods: { onChange(value: any): void { this.$emit('input', value); }, optionIsSelected(option): boolean { return _.includes(this.select.selectedValue, option); }, focusElement(): void { this.select.$refs.search.focus(); }, }, });