Trigger on Text Input clear

Hi team,

I’m loving the new trigger condition for text input widgets of “input is exited” instead of just when the enter key is pressed. I realized I would also find it helpful to have a trigger condition of “when clear button is pressed.” Or alternatively, a unified trigger condition for “whenever the input changes” (though I realize that may be untenable as it would be triggering constantly as a user is typing).

My use case involves updating the preview of a label whenever a user changes the text input. I had been doing this with a separate ‘refresh’ button, but the addition of “input is exited” allowed me to trigger the refresh logic more naturally for the user. The only exception now is when the clear button is pressed.

Hi @pgabrys thanks for the feedback! Glad to hear you are taking advantage of the new trigger condition!

Can you confirm that I have your use case correct? You are hoping to have the text input value sync and match with the preview value. The “input is exited” trigger helps get you there most of the way, but there’s an exception right now with the clear button.

Thanks again!

Did you realize, the the clear button seems to execute the “input is exited” trigger as well?