Bug on Input field

EDIT: I found out a better workaround than this one. Check here or use the Conditional Rendering workaround presented by @DanielL.


Hey @tcc, I’ve found a workaround for these input bugs. Instead of using the “reset variable value” action, you can use a Custom JavaScript action, use document.getElementById() to select the input and then change it’s value via JS.

For this, first of all, you’ll have to define an id to your input. It’s under HTML attributes (near Element’s name). This must be unique! Let’s say yours is gonna be inputChatPrompt.

Next, head back to your workflow, and on the Custom JavaScript action, on the JavaScript code part, fill in:

document.getElementById('inputChatPrompt').value = ""

This will reset the input value. If you want to set the value to something else, just:

document.getElementById('inputChatPrompt').value = "something else"

In my app, since I have multiple input fields relying on workflows for formatting, I’ll probably wait a few more days for the support ticket before applying this fix to every input that’s broken.

1 Like