Property change script won't reset value of text field

I'm trying to use a text field where when someone writes something, it reads the text, clears and stays focused on the text field. I'm using a property change script, but I can't seem to make the text field clear and stay focused

I can't see what's wrong with your code. Or your component configuration.

this is what I tried so far, but it doesn't work:

previousValue = ' '
self.props.text = previousValue
self.focus()

Is this in Perspective?
Maybe set deferUpdates and rejectUpdatesWhileFocused to false in props of the text field

1 Like

yes it is perspective