-
Notifications
You must be signed in to change notification settings - Fork 2
ISetChangedValidationTriggerConfig.shouldTriggerValidation
API / ISetChangedValidationTriggerConfig<TItem, TSet> / shouldTriggerValidation method
Optional, a guard method which controls when a validation should be triggered.
shouldTriggerValidation(
set: TSet,
setChange: ISetChange<TItem>
): boolean
Source reference: src/validation/triggers/SetChangedValidationTrigger.ts:20
.
-
set: TSet
The set that changed. -
setChange: ISetChange<TItem>
The set change.
Returns: boolean
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