How to bind indexed variables #1785
Labels
💬 Discussion
Requires some discussion and decision
🖰 GUI
Related to GUI
✨New feature
🟨 Priority: Medium
Not blocking but should be addressed
❓ Question
Can be unblocked with an answer
🔒 Staff only
Can only be assigned to the Taipy R&D team
Description
Check out this app where I generate selectors dynamically:
How do I store the answers (the values selected)? Here, I try to store the answers in the
answers
list, but instead of assigning the selected value toanswers[0]
, it assigns it toanswers
, so I lose the other answers.Solution Proposed
There are multiple solutions but one should be implemented and documented:
Currently, the workaround is using exec to create variables on the fly and it is not elegant:
Impact of Solution
No response
Additional Context
No response
Acceptance Criteria
Code of Conduct
The text was updated successfully, but these errors were encountered: