Hi, I am adding a chat area to my app and I want the “enter” key to send the chat content. I had a plugin to capture this and trigger my message workflow but I was getting strange results.
So I thought I would just write my own little bit of JS in a HTML element but I am having the same issue.
When I manually click “send” it sends my message correctly. When I use “enter” to trigger the JS, which is just faking the “send” click the message gets truncated to just the first character.
Does anyone have any ideas? I have added screenshots from the bubble debug that shows what it thinks is the value but also the console.log which is what seems like the value is to me (also the form is showing what I would expect).
Hopefully someone out there has the answer!