typebot.io
typebot.io copied to clipboard
Variable values with hyphens displaying incorrectly in chat
Describe the bug Some variables are not being handled properly. The value should be "82510-070", but in the chat it prints as "82454" for some reason
To Reproduce Steps to reproduce the behavior:
- Create a variable
- Set a custom value for the variable with a "-"
- Observe the variable value is different in the chat
Expected behavior For the value to be the same
This is an issue indeed. That's because of a legacy behavior, before we did not have the option to choose between Text or Code, so we always try to resolve the content as code, even if we select Text here (for retrocompatibility).
Will be fixed once we deploy this