mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #248 from simonwelsh/patch-1
BUGFIX Don't try setting the value attribute on DropdownField or its sub...
This commit is contained in:
commit
c8d3ebbd98
@ -165,7 +165,7 @@ class DropdownField extends FormField {
|
|||||||
function getAttributes() {
|
function getAttributes() {
|
||||||
return array_merge(
|
return array_merge(
|
||||||
parent::getAttributes(),
|
parent::getAttributes(),
|
||||||
array('type' => null)
|
array('type' => null, 'value' => null)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user