Editable textbox not working properly in loop

URL of experiment: https://pavlovia.org/ajus/textboxlooptest

Description of the problem: When using an editable textbox in a loop, the response of the previous trial is entered into the response field as soon as I click on it in the current trial. Is there a way to clear the previous response with some code at the end of the routine?

This might be being addressed here.

Did you set the text component to “set every repeat” instead of the default “constant”?

No, I did not! I’ll check if that fixes it.