IValidator.onRemove - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / IValidator<TValidatable, TValidationError> / onRemove method
Optional, a method that gets called when the validator is removed for an object.
onRemove(
validatable: TValidatable
): void
Source reference: src/validation/IValidator.ts:20
.
-
validatable: TValidatable
The object which will no longer be validated.