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

Commitfaf8d7a

Browse files
committed
[Form] Added upgrade information about setting "validation_groups" => false
1 parentd504732 commitfaf8d7a

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

‎UPGRADE-2.3.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
UPGRADE FROM 2.2 to 2.3
2+
=======================
3+
4+
###Form
5+
6+
* Although this was not officially supported nor documented, it was possible to
7+
set the option "validation_groups" to false, resulting in the group "Default"
8+
being validated. Now, if you set "validation_groups" to false, the validation
9+
of a form will be skipped (except for a few integrity checks on the form).
10+
11+
If you want to validate a form in group "Default", you should either
12+
explicitly set "validation_groups" to "Default" or alternatively set it to
13+
null.
14+
15+
Before:
16+
17+
```
18+
// equivalent notations for validating in group "Default"
19+
"validation_groups" => null
20+
"validation_groups" => "Default"
21+
"validation_groups" => false
22+
23+
// notation for skipping validation
24+
"validation_groups" => array()
25+
```
26+
27+
After:
28+
29+
```
30+
// equivalent notations for validating in group "Default"
31+
"validation_groups" => null
32+
"validation_groups" => "Default"
33+
34+
// equivalent notations for skipping validation
35+
"validation_groups" => false
36+
"validation_groups" => array()
37+
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp