Replies: 1 comment 4 replies
-
following from anvil forum Yes we never implemented connect as a dynamic property, because it's not a dynamic property in the underlying javascript library |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello dear community
What I'm trying to do:
I am trying to modify the anvil extras' slider component "connect" property from code.
What I've tried and what's not working:
I have a slider with two handles.
Initially, the connect property is set to True, such that the inner connection is colored.
In the code, i've tried this:
which does work (i got [True, False, True] printed)
HOWEVER
In the UI, the color of the slider doesn't change, and i don't get the desired connection (colored, not colored, colored)
It does work when i do it in the designer.
But i really need it to work from code because i need it to be triggered from an other component click event.
Other properties:
Here are some screenshots of the other properties of the slider.
Any idea of where this could come from ?
Beta Was this translation helpful? Give feedback.
All reactions