ReadOnlyFormCollection.onShouldTriggerValidation - Andrei15193/react-model-view-viewmodel GitHub Wiki
API / ReadOnlyFormCollection<TForm, TValidationError> / onShouldTriggerValidation method
Invoked when the current instance's properties change, this is a plugin method to help reduce validations when changes do not have an effect on validation.
protected onShouldTriggerValidation(
changedProperties: readonly (keyof ReadOnlyFormCollection<TForm, TValidationError>)[]
): booleanSource reference: src/forms/ReadOnlyFormCollection.ts:172.
-
changedProperties:
readonly(keyofReadOnlyFormCollection<TForm, TValidationError>)[]
Returns: boolean
Returns true if a validation should be triggered for the given changed properties; otherwise false.