Skip to content
Discussion options

You must be logged in to vote

If you want to print the value whenever it changes, you should do it in the change event handler:

def set_allow_moving(event):
    print(event.value)

ui.select([1, 2, 3], value=1, on_change=set_allow_moving)

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@falkoschindler
Comment options

@pzauner
Comment options

@pzauner
Comment options

@falkoschindler
Comment options

@pzauner
Comment options

Answer selected by falkoschindler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #537 on March 16, 2023 19:39.