@@ -159,12 +159,12 @@ public function testConstructorHandlesFormValues()
159
159
public function testMultiValuedFields ()
160
160
{
161
161
$ form = $ this ->createForm ('<form>
162
- <input type="text" name="foo[4]" value="foo" />
163
- <input type="text" name="foo" value="foo" />
164
- <input type="text" name="foo[2]" value="foo" />
165
- <input type="text" name="foo[]" value="foo" />
166
- <input type="text" name="bar[foo][]" value="foo" />
167
- <input type="text" name="bar[foo][foobar]" value="foo" />
162
+ <input type="text" name="foo[4]" value="foo" disabled="disabled" />
163
+ <input type="text" name="foo" value="foo" disabled="disabled" />
164
+ <input type="text" name="foo[2]" value="foo" disabled="disabled" />
165
+ <input type="text" name="foo[]" value="foo" disabled="disabled" />
166
+ <input type="text" name="bar[foo][]" value="foo" disabled="disabled" />
167
+ <input type="text" name="bar[foo][foobar]" value="foo" disabled="disabled" />
168
168
<input type="submit" />
169
169
</form>
170
170
' );
@@ -227,10 +227,10 @@ public function provideInitializeValues()
227
227
[],
228
228
],
229
229
[
230
- 'skips disabled input fields ' ,
230
+ 'takes into account disabled input fields ' ,
231
231
'<input type="text" name="foo" value="foo" disabled="disabled" />
232
232
<input type="submit" /> ' ,
233
- [],
233
+ [' foo ' => [ ' InputFormField ' , ' foo ' ] ],
234
234
],
235
235
[
236
236
'appends the submitted button value ' ,
0 commit comments