Toggle visibility of element by chosen element in dropdown #3558
Replies: 1 comment 2 replies
-
Hi @Kowersky, Do you mean something like this? select = ui.select(options=['A', 'B', 'C'])
ui.button('A').bind_visibility_from(select, 'value', value='A')
ui.button('B').bind_visibility_from(select, 'value', value='B')
ui.button('C').bind_visibility_from(select, 'value', value='C') |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi. I need to do something such that if "Kilof" is selected in dropdown, the tryb_button is shown, and if "Nożyce" is selected, it is not shown, and also if there is nothing selected in "narzedzie_button", nothing should be shown either.
Beta Was this translation helpful? Give feedback.
All reactions