We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da14654 + 934021d commit 8a3b638Copy full SHA for 8a3b638
reference/constraints/Regex.rst
@@ -163,7 +163,7 @@ Options
163
``htmlPattern``
164
~~~~~~~~~~~~~~~
165
166
-**type**: ``string|boolean`` **default**: ``null``
+**type**: ``string|null`` **default**: ``null``
167
168
This option specifies the pattern to use in the HTML5 ``pattern`` attribute.
169
You usually don't need to specify this option because by default, the constraint
@@ -243,7 +243,7 @@ need to specify the HTML5 compatible pattern in the ``htmlPattern`` option:
243
}
244
245
246
-Setting ``htmlPattern`` to false will disable client side validation.
+Setting ``htmlPattern`` to the empty string will disable client side validation.
247
248
``match``
249
~~~~~~~~~
0 commit comments