taking parameters from button click on loop does not work #981
|
I want to retrieve data from what I click instead output like this mycode |
Answered by
rmorshea
May 23, 2023
Replies: 4 comments 3 replies
What data are you trying to get at? It's not especially clear from your code? |
1 reply
|
i want to get data text , priority from tasks and my expectation i want to get the data i click like i['text'] and i['priority'] but instead I get data that is not as expected. like this when printed |
1 reply
|
and how to integrate reactpy with ui css framework like bootstrap. is there a way? |
1 reply
|
thanks solved |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is because, just as in Javascript, the first parameter passed to event handlers is information about the event itself. Your function
lambda i=i: klik(i)should be rewritten aslambda event, i=i:klik(i)