Skip to content
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

Single dropdown active class added to wrong option #300

Open
Xenocidious opened this issue Aug 10, 2022 · 4 comments
Open

Single dropdown active class added to wrong option #300

Xenocidious opened this issue Aug 10, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Xenocidious
Copy link

Describe the bug
When using a single dropdown, the active class does not get applied to the selected option.

To Reproduce

  1. Make a dropdown
  2. Open the dropdown
  3. Select any value but the first (as the first will coincidentally work
  4. Open the dropdown again
  5. The first option is now selected

Expected behavior
The chosen option should be active

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: 5195.19
@isneezy isneezy added the bug Something isn't working label Aug 16, 2022
@isneezy
Copy link
Owner

isneezy commented Aug 16, 2022

Hi @Xenocidious thank you for reporting this issu. Let me see if I can reproduce it and provide a fix for this issue.

Xenocidious added a commit to Xenocidious/vue-selectize that referenced this issue Aug 18, 2022
Fix for issue isneezy#300 
Highlight selected value when opening single dropdown
@Xenocidious
Copy link
Author

I've opened a pull request with a solution for the issue

@isneezy
Copy link
Owner

isneezy commented Aug 18, 2022

Hi, thanks for helping me out with this. I can’t find your Pull request, can you please post the link here?

@Xenocidious
Copy link
Author

I hadn't noticed something went wrong creating the pull request, I'll create it again next monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants