[🐛 BUG] Issue using lambda when passing state variable to a method #2212
Labels
Gui: Back-End
💥Malfunction
Addresses an identified problem.
🟧 Priority: High
Must be addressed as soon
What went wrong? 🤔
I'm trying to use a lambda function in tgb.part.render with a role trait filter to hide something based on a user's credentials:
I get the following error:
There is nothing shown on the webpage -- the tgb.text before the part block is also not shown.
Alternate community example
This code also does not work -- nothing is displayed on the webpage:
With 4.0, the error is not printed in the console. I guess this is related to #2144.
With develop, I get the following error:
Expected Behavior
The lambda expressions should evaluate to true and the block should be rendered.
Browsers
Chrome
OS
Windows, Linux
Version of Taipy
taipy-enterprise==4.0.0; develop
Additional Context
Acceptance Criteria
Code of Conduct
The text was updated successfully, but these errors were encountered: