Need Help with textbox Validation OnChange

Product: PowerShell Universal
Version: 4.0.8

I’m dealing with OnValidate to attempt to confirm a password.
Since OnValidate does not trigger until the user exits the textbox, the user is able to save a bad password if they just click the save button after typing the password (without clicking anywhere else).

How can I trigger OnValidate with OnChange?

You could add the validation process to the -OnClick part of the button you’re using to “save” the provided value in your textbox.