Skip to content

Commit 8a3b638

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: clarify how to disable client-side validation using the Regex constraint
2 parents da14654 + 934021d commit 8a3b638

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Regex.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Options
163163
``htmlPattern``
164164
~~~~~~~~~~~~~~~
165165

166-
**type**: ``string|boolean`` **default**: ``null``
166+
**type**: ``string|null`` **default**: ``null``
167167

168168
This option specifies the pattern to use in the HTML5 ``pattern`` attribute.
169169
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:
243243
}
244244
}
245245
246-
Setting ``htmlPattern`` to false will disable client side validation.
246+
Setting ``htmlPattern`` to the empty string will disable client side validation.
247247

248248
``match``
249249
~~~~~~~~~

0 commit comments

Comments
 (0)