Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e58b4ce

Browse files
committed
docs(input[email]): note limitations with IPv6 addresses
Closes #16599
1 parent c97237b commit e58b4ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ng/directive/input.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,10 @@ var inputType = {
909909
*
910910
* <div class="alert alert-warning">
911911
* **Note:** `input[email]` uses a regex to validate email addresses that is derived from the regex
912-
* used in Chromium. If you need stricter validation (e.g. requiring a top-level domain), you can
913-
* use `ng-pattern` or modify the built-in validators (see the {@link guide/forms Forms guide})
912+
* used in Chromium, which may not fulfill your app's requirements.
913+
* If you need stricter (e.g. requiring a top-level domain), or more relaxed validation
914+
* (e.g. allowing IPv6 address literals) you can use `ng-pattern` or
915+
* modify the built-in validators (see the {@link guide/forms Forms guide}).
914916
* </div>
915917
*
916918
* @param {string} ngModel Assignable AngularJS expression to data-bind to.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy