File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1587,11 +1587,11 @@ Validators.and([
15871587
15881588Used for chaining and combining multiple validators.
15891589
1590- - ` FormBuilderValidator.and() ` - Combines the current validator with another validator using logical AND .
1591- - ` FormBuilderValidator.or() ` - Combines the current validator with another validator using logical OR .
1592- - ` FormBuilderValidator.when() ` - Adds a condition to apply the validator only if the condition is met .
1593- - ` FormBuilderValidator.unless() ` - Adds a condition to apply the validator only if the condition is not met.
1594- - ` FormBuilderValidator.transform() ` - Transforms the value before applying the validator .
1595- - ` FormBuilderValidator.skipWhen() ` - Skips the validator if the condition is met .
1596- - ` FormBuilderValidator.log() ` - Logs the value during the validation process.
1597- - ` FormBuilderValidator.withErrorMessage() ` - Overrides the error message of the current validator.
1590+ - ` FormBuilderValidator.and() ` : use ` Validators.and ` instead .
1591+ - ` FormBuilderValidator.or() ` : use ` Validators.or ` instead .
1592+ - ` FormBuilderValidator.when() ` : use ` Validators.validateIf ` instead .
1593+ - ` FormBuilderValidator.unless() ` : use ` Validators.skipIf `
1594+ - ` FormBuilderValidator.transform() ` : use ` Validators.transformAndValidate ` instead .
1595+ - ` FormBuilderValidator.skipWhen() ` : use ` Validators.skipIf ` instead .
1596+ - ` FormBuilderValidator.log() ` : use ` Validators.debugPrintValidator ` instead
1597+ - ` FormBuilderValidator.withErrorMessage() ` : there is no equivalent in the new api.
You can’t perform that action at this time.
0 commit comments