Stop dialog's doValidate alarm
Answered
In my dialog user have few way to do .. someAction. Each way can be switched by RadioButtons and have it's own validation logic. I want to reset validation alarm, when user select radioButton, but seems DialogWrapper hasn't api for that.
Please sign in to leave a comment.
You should call 'initValidation()' when user selects radioButton to clear previous validation markers and messages.
Vassiliy Kudryashov, i want to stop unnecessary computation(alarm), not to reset prev validation and start another.
Computation would be cheaper if you cache validation result. Also you can try setValidationDelay('some reasonable value more than default 300 ms').
I have done it with setValidationDelay, thx!