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

[Feature Request] Allow dropdown menu options to be updated live #148

Open
SoxIn4 opened this issue Feb 10, 2023 · 3 comments
Open

[Feature Request] Allow dropdown menu options to be updated live #148

SoxIn4 opened this issue Feb 10, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@SoxIn4
Copy link

SoxIn4 commented Feb 10, 2023

Our onboarding workflow requires users to make selections from two dropdown menus. The contents of the second menu are determined by the choice made in the first menu. We'd like to be able to update one menu's options based on the selection made in another menu.

Describe the solution you'd like
A perfect solution would allow for retrieving selections and updating elements in a live window.

A less perfect, but usable solution would be a method to map the relationship between menus in advance.

Describe alternatives you've considered
We are currently using DEPNotify for this reason.

Additional context
In our use case, we need to get the choice in the first menu, then run an api call to get the choices for the second menu. The second menu has placeholder text (i.e. Select from menu 1) until a choice is made. Optimally, the second menu gets populated as soon as the user makes the first selection, and does not require the user to press a button to process the choice.

@SMartorelli SMartorelli added the enhancement New feature or request label Feb 10, 2023
@SMartorelli SMartorelli self-assigned this Feb 10, 2023
@SMartorelli
Copy link
Member

Thanks for the FR @SoxIn4 .
Just a question:
would it be okay to populate all the combined options from the configuration json or by necessity you need to build this options at run time?

@SMartorelli SMartorelli changed the title Allow dropdown menu options to be updated live [Feature Request] Allow dropdown menu options to be updated live Feb 10, 2023
@SoxIn4
Copy link
Author

SoxIn4 commented Feb 10, 2023

It would be okay, but not great. For our specific case, we have around 200 options in the first menu. If we can update it live, we can make one api call with the user's selection to get the options for the second menu.

If we have to supply all of the combinations in the json, we'd have to make 200 api calls up front.

We could probably solve that with a change somewhere else in the process, but allowing elements to be updated live would open up a lot of other possibilities, especially for onboarding, such as giving users a menu of videos or information to read.

@SoxIn4
Copy link
Author

SoxIn4 commented Feb 10, 2023

Either way would be very helpful and let us move to this for onboarding ultimately!

@SMartorelli SMartorelli added this to the Version 3.2.0 milestone Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants