Skip to content

Commit 2a31e08

Browse files
committed
fix: add select focus and blur events
1 parent be90aa9 commit 2a31e08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/vc-select/Select.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,10 +1469,12 @@ export default {
14691469
}
14701470
this._focused = true
14711471
this.updateFocusClassName()
1472+
this.$emit('focus')
14721473
},
14731474
selectionRefBlur (e) {
14741475
this._focused = false
14751476
this.updateFocusClassName()
1477+
this.$emit('blur')
14761478
},
14771479
},
14781480

0 commit comments

Comments
 (0)