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] Change another dropdown's menu items on change #6290

Open
jinchen1993 opened this issue Mar 21, 2018 · 2 comments
Open

[Dropdown] Change another dropdown's menu items on change #6290

jinchen1993 opened this issue Mar 21, 2018 · 2 comments

Comments

@jinchen1993
Copy link

jinchen1993 commented Mar 21, 2018

When change the value of a dropdown menu, how to dynamically update another dropdown menu data source, is there an API to use? i want get data source from server

@Semantic-Org Semantic-Org deleted a comment from jinchen1993 Mar 21, 2018
@y0hami y0hami changed the title Dropdown ,When change the value of a dropdown menu, how to dynamically update another dropdown menu data source, is there an API to use? [Dropdown] Change another dropdown's menu items on change Mar 21, 2018
@y0hami
Copy link
Member

y0hami commented Mar 21, 2018

Try looking at https://semantic-ui.com/modules/dropdown.html#initializing-with-javascript-only

@devmohitagarwal
Copy link

The above way stated by @hammy2899 is the best way, though there are other indirect ways to do that but they are messy

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

3 participants