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

selected option styling is not updated if .selectpicker('val', x) is called while dropdown menu is open #2256

Closed
rbonomo opened this issue Apr 9, 2019 · 4 comments

Comments

@rbonomo
Copy link

rbonomo commented Apr 9, 2019

Reproduce:
Select some options in the dropdown. In on-change event call .selectpicker('val', someOptionValue). The checkmarks are not updated.

@caseyjhol
Copy link
Member

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case (you can use our preconfigured Plunker), and report back with:

  • your link
  • Bootstrap version
  • bootstrap-select version
  • specific browser and OS details.

@rbonomo
Copy link
Author

rbonomo commented Apr 9, 2019

Will update this issue with requested content later. Opened a PR for this issue.

@caseyjhol
Copy link
Member

After looking at your PR, I see what you mean.

@caseyjhol caseyjhol changed the title .selectpicker('val') Doesn't update checkmarks when dropdown menu is displayed selected option styling is not updated if .selectpicker('val', x) is called while dropdown menu is open Apr 10, 2019
caseyjhol added a commit that referenced this issue Apr 10, 2019
@caseyjhol
Copy link
Member

Released in v1.13.10!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants