diff --git a/components/lib/select/Select.vue b/components/lib/select/Select.vue index d354d1de7..fb2b101f1 100755 --- a/components/lib/select/Select.vue +++ b/components/lib/select/Select.vue @@ -77,7 +77,7 @@
- @@ -185,6 +188,7 @@ import ChevronDownIcon from 'primevue/icons/chevrondown'; import SearchIcon from 'primevue/icons/search'; import SpinnerIcon from 'primevue/icons/spinner'; import TimesIcon from 'primevue/icons/times'; +import InputText from 'primevue/inputtext'; import OverlayEventBus from 'primevue/overlayeventbus'; import Portal from 'primevue/portal'; import Ripple from 'primevue/ripple'; @@ -662,7 +666,7 @@ export default { this.alignOverlay(); this.scrollInView(); - this.autoFilterFocus && DomHandler.focus(this.$refs.filterInput); + this.autoFilterFocus && DomHandler.focus(this.$refs.filterInput.$el); }, onOverlayAfterEnter() { this.bindOutsideClickListener(); @@ -978,6 +982,7 @@ export default { ripple: Ripple }, components: { + InputText, VirtualScroller, Portal, TimesIcon,