An error used to indicate that a value does not match the required pattern.
API
class PatternValidationError extends _NgValidationError { constructor(pattern: RegExp, options?: ValidationErrorOptions | undefined): PatternValidationError; readonly kind: "pattern"; readonly override field: FieldTree<unknown>; readonly override message?: string | undefined;}
constructor
PatternValidationErrorkind
"pattern"field
FieldTree<unknown>The field associated with this error.
message
string | undefinedHuman readable error message.
Jump to details