Password Field Enter Key

In perspective there is a password field component and i can’t find a way to get a script to run when the enter key is pressed when entering text into this component.

Is there a way to make this work?

There is indeed a Password Field Component, and it’s located in the Input Palette.

There is also a way to perform some logic when the Enter key is pressed:

To access this dialog, you should right-click the Text Field or Password Field you are working with and then select “Configure Events”.

Perfect. that works well.

Thank you.

1 Like

Not working for me in version 8.1.16


if event.key == '\n':
	#do something