Return to v2.0 docs

automaticValidations()


Model Configuration Validation Functions void model


Whether or not to enable default validations for this model.

Name Type Required Default Description
value boolean Yes Set to true or false.
// Disable automatic validations (for example when automatic validations are enabled globally, but we want to disable just for this model).
config() {
automaticValidations(false);
}

Related Functions

Validation Functions