You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loving the component so far, and using it on my current project. However, there is a feature that I would like you to add and that seems fit for this component. It would be great to have a prop to invoke blur after selecting an item, or to be able to emit blur inside the select event.
I tried doing this by emitting blur inside the select event handler as in onSelect (item) { console.log('select', this.$refs.coolselect) this.$refs.coolselect.$emit('blur'); }
however niether work, also tried setting a timeout, that doesn't work either. If you have another option that I could try, please let me know. I did not try emitting blur outside the onSelect listener but I believe that I should be allowed to blur it inside.
the component is awesome I hope that you'll add this feature soon
The text was updated successfully, but these errors were encountered:
wow I feel awful hahahah, I tried that too initially but instead of writing "setBlured()" I used "setBlurred()", and kept getting 'setBlurred()' is not a function 🤣. Isn't blurred grammatically correct?
Wow, haha, excuse me for such a name for the function. The fact is that I do not have a high level in English and I can make such mistakes. This is an interesting situation, each of us has gained experience.
Loving the component so far, and using it on my current project. However, there is a feature that I would like you to add and that seems fit for this component. It would be great to have a prop to invoke blur after selecting an item, or to be able to emit blur inside the select event.
I tried doing this by emitting blur inside the select event handler as in
onSelect (item) { console.log('select', this.$refs.coolselect) this.$refs.coolselect.$emit('blur'); }
also tried
onSelect (item) { this.$refs.coolselect.wishShowMenu = false; this.$refs.coolselect.focused = false; }
however niether work, also tried setting a timeout, that doesn't work either. If you have another option that I could try, please let me know. I did not try emitting blur outside the onSelect listener but I believe that I should be allowed to blur it inside.
the component is awesome I hope that you'll add this feature soon
The text was updated successfully, but these errors were encountered: