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?
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?
Perfect. that works well.
Thank you.
Not working for me in version 8.1.16
Try:
if event.key == '\n':
#do something
@josborn thanks for this post "\n" work perfect for the enter key. For anyone else if it can be helpful, here is what the entire contents of "event" looks like:
Cheers,
Nick