Skip to content

IValidationConfig.watchedProperties

Andrei Fangli edited this page Jul 4, 2021 · 3 revisions
API / IValidationConfig<TValidatableViewModel> / watchedProperties property

A collection of property names to watch for. The validation is carried out only if the specified properties have changed. These come in addition to the filters that is placed on the target. The target is not validated when its error, isValid and isInvalid properties change.

This is an optional read-only property.
Property type: readonly Array<String>

readonly watchedProperties?: readonly string[]
Clone this wiki locally