mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Don't try setting the value attribute on DropdownField or its subclasses.
This commit is contained in:
parent
e70c9b7d13
commit
b9ab70a249
@ -165,7 +165,7 @@ class DropdownField extends FormField {
|
||||
function getAttributes() {
|
||||
return array_merge(
|
||||
parent::getAttributes(),
|
||||
array('type' => null)
|
||||
array('type' => null, 'value' => null)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user