GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing angular.dev — Validators • Angular Validator that requires the control's value to be greater than or equal to the provided number. @parammin number@returns ValidatorFnA validator function that returns an error map with the
Usage notes Validate against a minimum of 3
Validator that requires the control's value to be less than or equal to the provided number. @parammax number@returns ValidatorFnA validator function that returns an error map with the
Usage notes Validate against a maximum of 15
Validator that requires the control have a non-empty value. @returns ValidationErrors | nullAn error map with the Usage notes Validate that the field is non-empty
Validator that requires the control's value be true. This validator is commonly used for required checkboxes. @returns ValidationErrors | nullAn error map that contains the Usage notes Validate that the field value is true
Validator that requires the control's value pass an email validation test. Tests the value using a regular expression pattern suitable for common use cases. The pattern is based on the definition of a valid email address in the WHATWG HTML specification with some enhancements to incorporate more RFC rules (such as rules related to domain names and the lengths of different parts of the address). The differences from the WHATWG version include:
If this pattern does not satisfy your business needs, you can use @returns ValidationErrors | nullAn error map with the Usage notes Validate that the field matches a valid email pattern
Validator that requires the number of items in the control's value to be greater than or equal
to the provided minimum length. This validator is also provided by default if you use
the HTML5 @paramminLength number@returns ValidatorFnA validator function that returns an error map with the
Usage notes Validate that the field has a minimum of 3 characters
Validator that requires the number of items in the control's value to be less than or equal
to the provided maximum length. This validator is also provided by default if you use
the HTML5 @parammaxLength number@returns ValidatorFnA validator function that returns an error map with the
Usage notes Validate that the field has maximum of 5 characters
Validator that requires the control's value to match a regex pattern. This validator is also
provided by default if you use the HTML5 @parampattern string | RegExpA regular expression to be used as is to test the values, or a string.
If a string is passed, the @returns ValidatorFnA validator function that returns an error map with the
Usage notes Validate that the field only contains letters or spaces
Pattern matching with the global or sticky flag
Validator that performs no operation. @returns ValidationErrors | nullCompose multiple validators into a single function that returns the union of the individual error maps for the provided control. @paramvalidators null@returns nullA validator function that returns an error map with the
merged error maps of the validators if the validation check fails, otherwise @returns ValidatorFn | nullCompose multiple async validators into a single function that returns the union of the individual error objects for the provided control. @returns AsyncValidatorFn | nullA validator function that returns an error map with the
merged error objects of the async validators if the validation check fails, otherwise DescriptionProvides a set of built-in validators that can be used by form controls. A validator is a function that processes a |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |