diff --git a/src/components/spinner/Spinner.vue b/src/components/spinner/Spinner.vue index 517097252..7e51dc8d5 100644 --- a/src/components/spinner/Spinner.vue +++ b/src/components/spinner/Spinner.vue @@ -124,16 +124,18 @@ export default { }, computed: { listeners() { + let vm = this; + return { ...this.$listeners, input: event => { this.$emit('input', event.target.value) }, focus: () => { - this.focused = true; + vm.focused = true; }, blur: event => { - this.focused = false; + vm.focused = false; const parsedValue = this.parseValue(event.target.value); this.$emit('input', parsedValue);