PatternValidator
directive
A directive that adds regex pattern validation to controls marked with the
pattern
attribute. The regex must match the entire control value.
The directive is provided with the NG_VALIDATORS
multi-provider list.
API
Usage Notes
class PatternValidator extends AbstractValidatorDirective {}
Jump to details