8000 [Form] Fixed option support in Form component by webmozart · Pull Request #3789 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Fixed option support in Form component #3789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 11, 2012
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Form] Fixed typos
  • Loading branch information
webmozart committed Apr 11, 2012
commit 5adec19f568795544d23246c3b16c6dba1f3970f
2 changes: 1 addition & 1 deletion UPGRADE-2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
```
public function getDefaultOptions()
{
$return array(
return array(
'empty_data' => function (Options $options, $previousValue) {
return $options['multiple'] ? array() : $previousValue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Symfony/Bridge/Propel1/Form/Type/ModelType.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getDefaultOptions()
);
};

$defaultOptions = array(
return array(
'template' => 'choice',
'multiple' => false,
'expanded' => false,
Expand Down
0