57c0ce0ec1
Internally, ChoiceField expects both choices and preferred_choices to be a simple array, so I replaced incomplete bits of code that attempted to not modify a possible ArrayObject and instead added type checks in the configure() method (with unit tests for expected exceptions). |
||
---|---|---|
.. | ||
Fixtures | ||
Renderer | ||
ValueTransformer | ||
CheckboxFieldTest.php | ||
ChoiceFieldTest.php | ||
CollectionFieldTest.php | ||
DateFieldTest.php | ||
DateTimeFieldTest.php | ||
DateTimeTestCase.php | ||
FieldGroupTest.php | ||
FieldTest.php | ||
FormTest.php | ||
HiddenFieldTest.php | ||
HtmlGeneratorTest.php | ||
InputFieldTest.php | ||
IntegerFieldTest.php | ||
LocalizedTestCase.php | ||
MoneyFieldTest.php | ||
NumberFieldTest.php | ||
PasswordFieldTest.php | ||
PercentFieldTest.php | ||
PropertyPathTest.php | ||
RadioFieldTest.php | ||
RepeatedFieldTest.php | ||
TextareaFieldTest.php | ||
TextFieldTest.php | ||
TimeFieldTest.php | ||
ToggleFieldTest.php |