@@ -159,12 +159,12 @@ public function testConstructorHandlesFormValues()
159159 public function testMultiValuedFields ()
160160 {
161161 $ 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" />
168168 <input type="submit" />
169169 </form>
170170 ' );
@@ -227,10 +227,10 @@ public function provideInitializeValues()
227227 [],
228228 ],
229229 [
230- 'skips disabled input fields ' ,
230+ 'takes into account disabled input fields ' ,
231231 '<input type="text" name="foo" value="foo" disabled="disabled" />
232232 <input type="submit" /> ' ,
233- [],
233+ [' foo ' => [ ' InputFormField ' , ' foo ' ] ],
234234 ],
235235 [
236236 'appends the submitted button value ' ,
0 commit comments