8000 merged branch stloyd/form_texttypes (PR #2343) · peterlcole/symfony@50c47aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 50c47aa

Browse files
committed
merged branch stloyd/form_texttypes (PR symfony#2343)
Commits ------- 8bd0e42 [Form] Use proper parent (text) for EmailType and TextareaType Discussion ---------- [2.0][Form] Use proper parent (text) for EmailType and Texta 8000 reaType Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: -
2 parents f22566c + 8bd0e42 commit 50c47aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Form/Extension/Core/Type/EmailType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class EmailType extends AbstractType
2020
*/
2121
public function getParent(array $options)
2222
{
23-
return 'field';
23+
return 'text';
2424
}
2525

2626
/**

src/Symfony/Component/Form/Extension/Core/Type/TextareaType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TextareaType extends AbstractType
2020
*/
2121
public function getParent(array $options)
2222
{
23-
return 'field';
23+
return 'text';
2424
}
2525

2626
/**

0 commit comments

Comments
 (0)
0