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.
1 parent b95af81 commit f68a326Copy full SHA for f68a326
reference/constraints/Regex.rst
@@ -193,7 +193,7 @@ Options
193
``htmlPattern``
194
~~~~~~~~~~~~~~~
195
196
-**type**: ``string|boolean`` **default**: ``null``
+**type**: ``string|null`` **default**: ``null``
197
198
This option specifies the pattern to use in the HTML5 ``pattern`` attribute.
199
You usually don't need to specify this option because by default, the constraint
@@ -289,7 +289,7 @@ need to specify the HTML5 compatible pattern in the ``htmlPattern`` option:
289
}
290
291
292
-Setting ``htmlPattern`` to false will disable client side validation.
+Setting ``htmlPattern`` to the empty string will disable client side validation.
293
294
``match``
295
~~~~~~~~~
0 commit comments