Showing text input field within a loop

OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x): 3.0.0b12
Standard Standalone? (y/n) If not then what?: y
What are you trying to achieve?: random sound file presented → show and store numerical rating

What did you try to make it work?: jcanterbury code snippet to create text input field (per - YouTube)

What specifically went wrong when you tried that?: this snipper works when I do not have it within a loop to present random sound .wav files; however, when I incorporate a loop to repeat and play random sound files (1 of 160) the text no longer shows on the screen.

Any direction would be greatly appreciated!

Resolved
I was able to show the input text by changing the Text input component to “set every frame”.