Select: filter and auto-filter-focus error fix

pull/6839/head
Reddy Uppathi 2024-11-23 00:46:38 +05:30
parent bd7161298a
commit bd38ea66ff
1 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ export default {
this.scrollInView();
setTimeout(() => {
this.autoFilterFocus && this.filter && focus(this.$refs.filterInput.$el);
this.autoFilterFocus && this.filter && focus(this.$refs.filterInput?.$el);
}, 1);
},
onOverlayAfterEnter() {
@ -705,7 +705,7 @@ export default {
if (this.autoFilterFocus && this.filter && !this.editable) {
this.$nextTick(() => {
focus(this.$refs.filterInput.$el);
focus(this.$refs.filterInput?.$el);
});
}