Skip to content
Discussion options

You must be logged in to vote
ui.input(placeholder="Search").props(
    """
    rounded 
    autogrow
    autofocus 
    outlined
    """
 ).on('keypress.enter',lambda e:None if e.args['shiftKey'] else e.sender.set_value('')  ,args=['shiftKey'])

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dominikpeter
Comment options

You must be logged in to vote
4 replies
@dominikpeter
Comment options

@python-and-novella
Comment options

@aersam
Comment options

@dominikpeter
Comment options

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