-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default option not selecting #146
Comments
I'm glad you are enjoying the plugin so far! I am leaning towards triggering the Note: To me, the |
@yanickrochon Just to let you know, the next release has been pushed to early next week! |
Good to hear that! |
I have just run into this same issue this afternoon. The fix will be much appreciated |
This should now be fixed in the latest release! |
First, this is a very nice plugin!
And here's the issue that I'm having. I have the widget created with these options :
The element looks like this
The problem is that the first option is already selected (but is not shown as the default text is displayed) and when selecting it, the
"change"
event is never fired. To actually fire an even for the first option, I need to select the second option, then select the first option. However this is problematic as there must be only one event that needs to be fired.I could trick this by inserting an empty option and adding
showFirstOption: false
. But if the expected behaviour could happen, it would be preferable.Edit
I just saw the
option-click
event, would it break anything if this event would become an alias to thechange
event? To me, this is essentially the same. Or at least if a default text is showing and is replaced by the option value. Just a thought.The text was updated successfully, but these errors were encountered: