From 0633d8f2b0ac6cbad1c637768258b1f72994a614 Mon Sep 17 00:00:00 2001 From: Martin Staffa Date: Fri, 11 Jan 2019 17:42:52 +0100 Subject: [PATCH] docs(input[email]): note limitations with IPv6 addresses Closes #16599 --- src/ng/directive/input.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ng/directive/input.js b/src/ng/directive/input.js index 0a9eacd9f..7dfbf164b 100644 --- a/src/ng/directive/input.js +++ b/src/ng/directive/input.js @@ -909,8 +909,10 @@ var inputType = { * *
* **Note:** `input[email]` uses a regex to validate email addresses that is derived from the regex - * used in Chromium. If you need stricter validation (e.g. requiring a top-level domain), you can - * use `ng-pattern` or modify the built-in validators (see the {@link guide/forms Forms guide}) + * used in Chromium, which may not fulfill your app's requirements. + * If you need stricter (e.g. requiring a top-level domain), or more relaxed validation + * (e.g. allowing IPv6 address literals) you can use `ng-pattern` or + * modify the built-in validators (see the {@link guide/forms Forms guide}). *
* * @param {string} ngModel Assignable AngularJS expression to data-bind to.