Is there a way to dynamically change the lov parameter of a selector control? #953
Replies: 1 comment
-
I see you have closed the issue. You may have found the solution. For future reference, here is a possible solution. To tell Taipy that a variable is interactive, you have to use its interactive representation:
This variable reflects its real-time value and is interactive (can be changed in real-time). The code below should work:
with tgb.part():
...
tgb.selector(value="{selected_datetime}", lov="{datetime_str}", dropdown=True, label="Selected Datetime") |
Beta Was this translation helpful? Give feedback.
0 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.
-
I want to create a dropdown with certain dates from a range.
That range should be defined by a date_range control.
So I need to dynamically change the possible dropdown values based on the selcted dates in the date_range control.
Basic example would be below. The state.selected_datetime updates directly without any problem.
Only the state.datetime_str seems to have no effect. Even after refreshing the page. Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions