[🐛 BUG] var_name renders as empty string in chat's on_action's callback #2584
Labels
🖰 GUI
Related to GUI
💥Malfunction
Addresses an identified problem.
🟨 Priority: Medium
Not blocking but should be addressed
Uh oh!
There was an error while loading. Please reload this page.
🔍 What went wrong?
When using the
chat
visual element, I can trigger a callback, it's theon_action
parameter.According to the documentation, the callback's signature has a
var_name
argument in the second position, and it references the name of themessages
variable. However, it returns an empty string instead.✅ Expected Behavior
It should return the name of the variable :)
🔄 Steps to Reproduce
The following code reproduces the issue, just send messages and check the terminal, the strings for
var_name
are empty, but the variable has a name (it can't not have it):💻 Runtime Environment
Lubuntu 24.04
🌐 Browser (if applicable)
Brave
🖥️ Operating System
Linux
📦 Taipy Version
4.0.2 and 4.0.3
📋 Additional Context (Optional)
📜 Code of Conduct
✅ Acceptance Criteria
The text was updated successfully, but these errors were encountered: