primevue icon indicating copy to clipboard operation
primevue copied to clipboard

fix(Select): resolve $el undefined error

Open KumJungMin opened this issue 4 months ago • 1 comments

Defect Fixes

  • fix #6539
  • There is an issue where this.$refs.filterInput.$el is not defined when opening the select.
  • Upon investigation, I found that filterInput is only rendered when this.filter is true, so I added the this.filter condition.
this.autoFilterFocus && this.filter && focus(this.$refs.filterInput.$el); // add this.filter 

KumJungMin avatar Oct 08 '24 12:10 KumJungMin