File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ This option defines the pattern used to validate the email address. Valid values
111
111
to use one of the other modes instead;
112
112
* ``html5 `` uses pretty the same regular expression as the `HTML5 email input element `_,
113
113
but also force the usage of tld.
114
- * ``allow-no-tld `` uses exactly the same regular expression as the `HTML5 email input element `_,
114
+ * ``html5- allow-no-tld `` uses exactly the same regular expression as the `HTML5 email input element `_,
115
115
making the backend validation consistent with the one provided by browsers.
116
116
* ``strict `` validates the address according to `RFC 5322 `_ using the
117
117
`egulias/email-validator `_ library (which is already installed when using
@@ -128,6 +128,10 @@ The default value used by this option is set in the
128
128
:ref: `framework.validation.email_validation_mode <reference-validation-email_validation_mode >`
129
129
configuration option.
130
130
131
+ .. versionadded :: 6.2
132
+
133
+ The ``html5-allow-no-tld `` mode was introduced in 6.2.
134
+
131
135
.. deprecated :: 6.2
132
136
133
137
The ``loose `` value is deprecated since Symfony 6.2. Starting from
You can’t perform that action at this time.
0 commit comments