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
the selector option is from another selector #180
Comments
Thank you for the clear explanation @bvbvtw ! That makes sense, and it seems that it would be similar to what might often be described as ‘cascading’ or ‘hierarchical’ filtering This functionality is currently not available in Vizro 0.1.6 yet, however it may soon be possible to achieve through future functionality related to customising callbacks, which is currently in development When the underlying functionality to apply custom callbacks is released shortly, we will reply here whether it is possible to use that to achieve the same outcome of cascading filters (or else will give an indication about when that functionality might be available as part of the core functionality instead) |
@Joseph-Perkins Thanks your prompt reply, I've learn that it is possible to create custom components from documentation. ####################################### category_lst = [category[0] for category in category_table]
@app.callback(Output("in_item", component_property='options'), |
Hi @bvbvtw. It's possible to use Vizro in combination with the Dash which makes a requested feature possible. Here's an example with the
I really hope this example can help you achieve the desired behaviour. Tell us if the solution works for you and if we can still help you somehow. P.S. As @Joseph-Perkins already said, similar behaviour will soon be possible to implement just using the Vizro syntax (without needing to import dash library). |
Is this there a solution to this problem now without importing dash and using newly added Vizro custom actions? |
Hi @Et9797! We don't yet support this feature natively in Vizro, but will let you know when we do. |
Question
I'd like to dynamic change the selector options according to the another selector.
for example:
I use titanic_data to set dropdown list:
first dropdown is pclass , it's including 1,2,3
second dropdown is deck it's including A,B,C,D,E,F,G
What I want is when select plass=2 on the first dropdown, the second dropdown only show D,E,F
because there are only deck D,E,F on pclass=2
This function can be done by callback in dash/plotly.
How can I achieve this function inVizro? Please advise, thank you!
Code/Examples
No response
Other information
No response
vizro version
No response
Python version
No response
OS
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: