Skip to content

ui.stat_list_item clickable action #728

Answered by lo5
CH3V4L13R asked this question in Q&A
Discussion options

You must be logged in to vote

@CH3V4L13R - the solution from @mturoci is not the right approach.

@mturoci - no workarounds/hacks are necessary.

You do not have to loop through q.args.
Just provide a name, e.g. ui.stat_list_card(, ... name='foo', ...) and you can simply check the value of q.args.foo to know which item was selected.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@CH3V4L13R
Comment options

@lo5
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

@lo5
Comment options

@lo5
Comment options

@lo5
Comment options

@CH3V4L13R
Comment options

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