IValidator.onAdd - Andrei15193/react-model-view-viewmodel GitHub Wiki

Optional, a method that gets called when the validator is configured for an object.

onAdd(
  validatable: TValidatable
): void

Source reference: src/validation/IValidator.ts:15.

Parameters

  • validatable: TValidatable
    The object which will be validated.
⚠️ **GitHub.com Fallback** ⚠️