-
Notifications
You must be signed in to change notification settings - Fork 2
IObjectValidator
API / IObjectValidator<TValidatable, TValidationError> interface
Represents an object validator.
Extends IReadOnlyObjectValidator<TValidatable, TValidationError>.
interface IObjectValidator<TValidatable extends IValidatable<TValidationError> | INotifyPropertiesChanged, TValidationError = string>
extends IReadOnlyObjectValidator<TValidatable, TValidationError>
Source reference: src/validation/objectValidator/IObjectValidator.ts:13
.
-
TValidatable - The instance type that is being validated.
Type constraints: IValidatable<TValidationError> & INotifyPropertiesChanged.
-
TValidationError - The concrete type for representing validation errors (strings, enums, numbers etc.).
Default value:
string
.
-
readonly
triggers - Gets the validation triggers that have been configured. -
readonly
validators - Gets the validators that have been configured. -
inherited
readonly
target - Gets the object that is being validated.
Overview
Motivation
Guides and Tutorials - Getting Started
Releases
CodeSandbox
API
Events
IEvent
IEventHandler
EventDispatcher
ViewModels
INotifyPropertiesChanged
ViewModel
Forms
Form
IFormFieldConfig
FormField
ReadOnlyFormCollection
FormCollection
IConfigurableFormCollection
FormSetupCallback
Validation
IValidator
ValidatorCallback
IObjectValidator
IValidatable
Validation / Triggers
WellKnownValidationTrigger
ValidationTrigger
Observable Collection
ReadOnlyObservableCollection
ObservableCollection
INotifyCollectionChanged
CollectionChangeOperation
INotifyCollectionReordered
CollectionReorderOperation
Observable Map
ReadOnlyObservableMap
ObservableMap
INotifyMapChanged
MapChangeOperation
Observable Set
ReadOnlyObservableSet
ObservableSet
INotifySetChanged
SetChangeOperation
Dependency Handling
IDependencyResolver
IDependencyContainer
DependencyContainer
useDependency
useViewModelDependency
useDependencyResolver
React Hooks
useViewModel
useViewModelMemo
useObservableCollection
useObservableMap
useObservableSet