Commit d587ff2
committed
[Form] Add the allow_array_submission option to let PRE_SUBMIT listeners turn a submitted array into data the form accepts
1 parent 53bf627 commit d587ff2Copy full SHA for d587ff2
14 files changed
+264-24Lines changed: 264 additions & 24 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/Symfony/Component/Form
- Extension/Core/Type
- Tests
- Extension/Core/Type
- Fixtures/Descriptor
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/Symfony/Component/Form/CHANGELOG.md
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/CHANGELOG.md+1Lines changed: 1 addition & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
7 | 8 | |
8 | 9 | |
9 | 10 | |
|
Collapse file
src/Symfony/Component/Form/Extension/Core/Type/ColorType.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/ColorType.php+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
| 42 | + |
42 | 43 | |
43 | | - |
| 44 | + |
44 | 45 | |
45 | 46 | |
46 | 47 | |
|
Collapse file
src/Symfony/Component/Form/Extension/Core/Type/FileType.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/FileType.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
79 | | - |
| 79 | + |
80 | 80 | |
81 | 81 | |
82 | 82 | |
|
Collapse file
src/Symfony/Component/Form/Extension/Core/Type/FormType.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/FormType.php+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
175 | 175 | |
176 | 176 | |
177 | 177 | |
| 178 | + |
178 | 179 | |
179 | 180 | |
180 | 181 | |
|
Collapse file
src/Symfony/Component/Form/Extension/Core/Type/TimeType.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/TimeType.php+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
| 65 | + |
66 | 66 | |
67 | 67 | |
68 | 68 | |
| ||
81 | 81 | |
82 | 82 | |
83 | 83 | |
84 | | - |
| 84 | + |
85 | 85 | |
86 | 86 | |
87 | 87 | |
|
Collapse file
src/Symfony/Component/Form/Form.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Form.php+20-2Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
444 | 444 | |
445 | 445 | |
446 | 446 | |
| 447 | + |
| 448 | + |
447 | 449 | |
448 | 450 | |
449 | 451 | |
| ||
459 | 461 | |
460 | 462 | |
461 | 463 | |
462 | | - |
463 | | - |
| 464 | + |
| 465 | + |
| 466 | + |
| 467 | + |
| 468 | + |
| 469 | + |
| 470 | + |
| 471 | + |
464 | 472 | |
465 | 473 | |
466 | 474 | |
| ||
481 | 489 | |
482 | 490 | |
483 | 491 | |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
| 496 | + |
| 497 | + |
| 498 | + |
| 499 | + |
| 500 | + |
| 501 | + |
484 | 502 | |
485 | 503 | |
486 | 504 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Extension/Core/Type/ColorTypeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/ColorTypeTest.php+53Lines changed: 53 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
| 18 | + |
| 19 | + |
18 | 20 | |
19 | 21 | |
20 | 22 | |
| ||
81 | 83 | |
82 | 84 | |
83 | 85 | |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
84 | 137 | |
85 | 138 | |
86 | 139 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php+49Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
| 19 | + |
| 20 | + |
19 | 21 | |
20 | 22 | |
21 | 23 | |
| ||
172 | 174 | |
173 | 175 | |
174 | 176 | |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
175 | 224 | |
176 | 225 | |
177 | 226 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/TimeTypeTest.php+31Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
278 | 278 | |
279 | 279 | |
280 | 280 | |
| 281 | + |
| 282 | + |
| 283 | + |
| 284 | + |
| 285 | + |
| 286 | + |
| 287 | + |
| 288 | + |
| 289 | + |
| 290 | + |
| 291 | + |
| 292 | + |
| 293 | + |
| 294 | + |
| 295 | + |
| 296 | + |
| 297 | + |
| 298 | + |
| 299 | + |
| 300 | + |
| 301 | + |
| 302 | + |
| 303 | + |
| 304 | + |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
| 311 | + |
281 | 312 | |
282 | 313 | |
283 | 314 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Fixtures/Descriptor/resolved_form_type_1.json
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Fixtures/Descriptor/resolved_form_type_1.json+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
|
0 commit comments