Issue with Dynamic Variable Selection in Typebot
Hello, everyone,
I'm experiencing a strange issue, and I could use some help. When I select only one item, Typebot automatically selects additional items randomly. I’m not sure why this is happening.
Context:
If I include item.description like this:
data.flatMap(item => { return item.name + " - R$" + item.price + (item.description ? " " + item.description : "") })
OR like this: data.flatMap(item => item.name + " - R$" + item.price + " " + item.description)
The issue persists. It doesn't behave correctly at all.
Observation:
If I remove item.description, everything works as expected. For example:
data.flatMap(item => item.name + " - R$" + item.price)
Why this happens?
I’d appreciate any insights or suggestions for debugging this!
Thanks in advance!
4 Replies
Someone will reply to you shortly. In the meantime, this might help:
Can you provide the configuration of your Buttons input so that I try to reproduce the bug?
This?

Can you provide a very simple bot that reproduce the issue?