Forms: improve `email` validator directive docs
See original GitHub issueDescription
Currently, the Validators.email
page explains the email validator logic and talks about the standard that we rely on. However the EmailValidator
page, which describes the email validator for template-driven forms doesn’t have that info. The proposal is to add a sentence that would mention the email validation format and refer to the Validators.email
page (something like: The email validation is based on the WHATWG HTML specification with some enhancements to incorporate more RFC rules. More information can be found on the [Validators.email page](api/forms/Validators#email).
).
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
EmailValidator - Angular
A directive that adds the email validator to controls marked with the email attribute. The directive is provided with the NG_VALIDATORS multi-provider list....
Read more >How To Use Custom Form Validation in Angular - DigitalOcean
First, open your terminal and use the @angular/cli package that was installed as a dev dependency to generate a new directive:
Read more >angular/validators.ts at main - GitHub
* A directive which installs the {@link MaxValidator} for any `formControlName`, * `formControl`, or control with `ngModel` that also has a `max` attribute....
Read more >AngularJS: Developer Guide: Forms
Form and controls provide validation services, so that the user can be notified of invalid input before submitting a form. This provides a...
Read more >Angular Forms and Validations
We will cover both basic and advanced input validations such as: how to validate emails in angular, passwords, phone numbers and unique ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this ticket since PR https://github.com/angular/angular/pull/45014 is now merged.
@ameryousuf thanks for improving Angular docs!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.