question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Forms: improve `email` validator directive docs

See original GitHub issue

Description

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:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrewKushnircommented, Feb 8, 2022

Closing this ticket since PR https://github.com/angular/angular/pull/45014 is now merged.

@ameryousuf thanks for improving Angular docs!

0reactions
angular-automatic-lock-bot[bot]commented, Mar 11, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found