Does the rule make the value required?
The UI needs to be able to mark fields that are required without needing to show the entire error state.
If a validation rule makes it required, this allows the UI to flag the field for the user without a full error display.
Validation level used if the validation fails.
Given the value, should it be able to add new values?
Used when dealing with a list to control if the user can add more items.
Current value of the field.
Given the value, should it be able to remove new values?
Used when dealing with a list to control if the user can remove more items.
Current value of the field.
Validates the field using the current value.
If there is an error with the validation, return an error message string to be displayed to the user.
Current value of the field.
Generated using TypeDoc
Selective Validation Rules