Skip to content

Commit

Permalink
[Form] fixed error bubbling for choices when expanded is true
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 19, 2011
1 parent 33498bf commit 5242859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Component/Form/Type/ChoiceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public function getDefaultOptions(array $options)
'preferred_choices' => array(),
'csrf_protection' => false,
'empty_data' => $multiple || $expanded ? array() : '',
'error_bubbling' => false,
);
}

Expand Down

0 comments on commit 5242859

Please sign in to comment.