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

[Dropdown] default selected not working when having useLabels: false #6295

Open
MartHage opened this issue Mar 22, 2018 · 4 comments
Open

[Dropdown] default selected not working when having useLabels: false #6295

MartHage opened this issue Mar 22, 2018 · 4 comments

Comments

@MartHage
Copy link

MartHage commented Mar 22, 2018

When having useLabels set to false, and initiliazing a dropdown menu through javascript. All values that should be default aren't. However when useLabels is true, they show up as defaults.

Version

2.3.1

Here is a JSFiddle: https://jsfiddle.net/ca0rovs3/387/

@y0hami
Copy link
Member

y0hami commented Mar 22, 2018

Can you create a JSFiddle to replicate this issue?

@MartHage
Copy link
Author

Of course, see my comment

@somenugget
Copy link

Dropdown works well without this line in initialize(). With useLabels: false and useLabels: true
https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/modules/dropdown.js#L110

@lubber-de

This comment was marked as spam.

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

No branches or pull requests

4 participants