Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit934021d

Browse files
committed
minor#20089 [Validator] clarify how to disable client-side validation using the Regex constraint (xabbuh)
This PR was merged into the 5.4 branch.Discussion----------[Validator] clarify how to disable client-side validation using the Regex constraintfixessymfony/symfony#53807Commits-------f68a326 clarify how to disable client-side validation using the Regex constraint
2 parentsb95af81 +f68a326 commit934021d

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
@@ -193,7 +193,7 @@ Options
193193
``htmlPattern``
194194
~~~~~~~~~~~~~~~
195195

196-
**type**: ``string|boolean`` **default**: ``null``
196+
**type**: ``string|null`` **default**: ``null``
197197

198198
This option specifies the pattern to use in the HTML5 ``pattern`` attribute.
199199
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:
289289
}
290290
}
291291
292-
Setting ``htmlPattern`` tofalse will disable client side validation.
292+
Setting ``htmlPattern`` tothe empty string will disable client side validation.
293293

294294
``match``
295295
~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp