File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
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
+ ```
You can’t perform that action at this time.
0 commit comments