Model Configuration
automaticValidations()
Signature
Section titled “Signature”automaticValidations() — returns void
Available in: model
Category: Validation Functions
Description
Section titled “Description”Whether or not to enable default validations for this model.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
value | boolean | yes | — | Set to true or false. |
Examples
Section titled “Examples”// Disable automatic validations (for example when automatic validations are enabled globally, but we want to disable just for this model).
config() {
automaticValidations(false);
}