Share feedback, ideas and get community help

Updated 3 weeks ago

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!
Attachment
image.png
B
1 comment
Can you provide the configuration of your Buttons input so that I try to reproduce the bug?
Add a reply
Sign up and join the conversation on Discord