Version: 9.0.0
Validating forms
#
Defining relationship validatorsRelationship validators can be added by defining a validators
object:
user.form-object.ts
These validators will be passed to the corresponding name
and cars
form controls.
note
Validator object will be used only for Attribute
and HasMany
relationships. For validating BelongsTo
relationships, see FormGroupOptions.
FormGroupOptions
#
Defining FormObject validator with To validate a FormStore
instance as a whole, a validator can be provided via formGroupOptions
on FormObject
.