Commit 8bdb7a0
[Form] Added delete_empty option to allow proper emptyData handling of collections
1 parent efcca3e commit 8bdb7a0Copy full SHA for 8bdb7a0
File tree
Expand file treeCollapse file tree
5 files changed
+112
-4
lines changedOpen diff view settings
Filter options
- src/Symfony/Component/Form
- Extension/Core
- EventListener
- Type
- Tests
- Extension/Core/Type
- Fixtures
Expand file treeCollapse file tree
5 files changed
+112
-4
lines changedOpen diff view settings
Collapse file
src/Symfony/Component/Form/Extension/Core/EventListener/ResizeFormListener.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/EventListener/ResizeFormListener.php+26-2Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
49 | 54 | |
50 | 55 | |
51 | 56 | |
52 | 57 | |
53 | 58 | |
| 59 | + |
54 | 60 | |
55 | 61 | |
56 | 62 | |
| ||
126 | 132 | |
127 | 133 | |
128 | 134 | |
| 135 | + |
129 | 136 | |
130 | 137 | |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
131 | 142 | |
132 | 143 | |
133 | 144 | |
| ||
136 | 147 | |
137 | 148 | |
138 | 149 | |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
139 | 163 | |
140 | 164 | |
141 | 165 | |
142 | | - |
| 166 | + |
143 | 167 | |
144 | 168 | |
145 | 169 | |
|
Collapse file
src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
| 41 | + |
41 | 42 | |
42 | 43 | |
43 | 44 | |
| ||
86 | 87 | |
87 | 88 | |
88 | 89 | |
| 90 | + |
89 | 91 | |
90 | 92 | |
91 | 93 | |
|
Collapse file
src/Symfony/Component/Form/Form.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Form.php+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
899 | 899 | |
900 | 900 | |
901 | 901 | |
902 | | - |
| 902 | + |
| 903 | + |
| 904 | + |
903 | 905 | |
904 | 906 | |
905 | 907 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php+74Lines changed: 74 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
| 16 | + |
15 | 17 | |
16 | 18 | |
17 | 19 | |
| ||
88 | 90 | |
89 | 91 | |
90 | 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 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
91 | 165 | |
92 | 166 | |
93 | 167 | |
|
Collapse file
src/Symfony/Component/Form/Tests/Fixtures/Author.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Fixtures/Author.php+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
24 | 30 | |
25 | 31 | |
26 | 32 | |
|
0 commit comments