-
Notifications
You must be signed in to change notification settings - Fork 2
ValidationConfigSelectorCallback
API / ValidationConfigSelectorCallback<TItem, TValidatable> type
Represents a validation config selector callback.
type ValidationConfigSelectorCallback<TItem, TValidatableViewModel extends IValidatable & INotifyPropertiesChanged> = (source: TItem) => IValidationConfig<TValidatableViewModel>
- TItem: the type of items from which to select validatable objects.
- TValidatableViewModel: the type of validatable objects that are selected from an item as part of the validation config. Must implement IValidatable and INotifyPropertiesChanged.
- source: TItem, the item from which a validation config is selected.
Returns: IValidationConfig<TValidatable>
Returns a validation config selected from the provided source.
Motivation
Overview
Guides and Tutorials - Getting Started
Releases
API
Events
IEvent
IEventHandler
INotifyPropertiesChanged
INotifyCollectionChanged
IItemAddedEventArgs
IItemRemovedEventArgs
ICollectionChange
ItemRemovedCallback
ICollectionChange
EventDispatcher
Observable Collections
IReadOnlyObservableCollection
IObservableCollection
ReadOnlyObservableCollection
ObservableCollection
ViewModels
ViewModel
isViewModel
Forms
IFormFieldViewModel
IFormFieldViewModelConfig
FormFieldViewModel
FormFieldCollectionViewModel
FormFieldSet
DynamicFormFieldCollectionViewModel
Validation
IReadOnlyValidatable
IValidatable
IValidationConfig
ValidatorCallback
CollectionItemValidatorCallback
ValidatableSelectorCallback
ValidationConfigSelectorCallback
UnsubscribeCallback
registerValidators
registerCollectionValidators
registerCollectionItemValidators
React Hooks
EventHandler
useEvent
ViewModelType
ViewModelFactory
useViewModel
useViewModelMemo
useObservableCollection
useValidators
useCollectionValidators
useCollectionItemValidators