Permalink
Browse files

BUGFIX Don't try setting the value attribute on DropdownField or its …

…subclasses.
  • Loading branch information...
1 parent e70c9b7 commit b9ab70a2492d6733f1842586f435fcdb2909f571 @simonwelsh simonwelsh committed Mar 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/DropdownField.php
View
2 forms/DropdownField.php
@@ -165,7 +165,7 @@ function Field($properties = array()) {
function getAttributes() {
return array_merge(
parent::getAttributes(),
- array('type' => null)
+ array('type' => null, 'value' => null)
);
}

0 comments on commit b9ab70a

Please sign in to comment.