Chat V2
# 🤝help
w
Hi guys! I'm giving chatbot V2 a try, and the placeholder of options look like this. Is this normal? Is there anyway to change it? I'm also trying to use userData and its not working. How should i use it with V2? https://cdn.discordapp.com/attachments/1243557984286670991/1243557984433606676/image.png?ex=6651e91f&is=6650979f&hm=49bc6394a847b2ad28a534bc2cd6a8cda334bddd3fd86a03449169bdfc146c3c&
b
Sorry - do you mind telling me a bit more how this situation happens?
w
Hi It happens when I publish my bot and use it on the Website. The placeholder just looks like this. I just didnt use the V2 version because of this. Is kinda weird and can confuse the user
b
Can you tell me a bit more what you are trying to do? What worked and did not work per your expectation?
w
Ok, Two things bottered me: First, as you can see in the print I sent, this message is a choice card. The placeholder in the message is confusing. In the V1 version the placeholder is "Select.." which is way better https://cdn.discordapp.com/attachments/1243557984286670991/1244689173991002132/image.png?ex=665606a0&is=6654b520&hm=a0e0a1d49d4bfe494240e358461eacb4517a5b802847a4cc118523f784b2b51b&
But I'm using userData in my bot which stays inside the tag window.botpressWebChat.init So I've tried opening the link and got this (censored some parts) https://cdn.discordapp.com/attachments/1243557984286670991/1244691710408392774/image.png?ex=665608fd&is=6654b77d&hm=9b1a24c8fc7cfd847b4e7b1f4be250eb9a52541b5ab0058ced97214ef835d3ea&
so I just added the userData :{} tag inside the window.botpressWebChat.init and it didn't work
b
I see. Can you please repost this in the UI feedback channel? Thank you.
There is an example of using User Data from Botpress Doc. https://botpress.com/docs/developers/webchat-v2/examples/ Can you see if that can solve your issue?
w
Oh ok, thanks for your help! I sent the feedback in the channel already
168 Views