8000 [Form] Use proper parent (text) for EmailType and TextareaType · peterlcole/symfony@8bd0e42 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8bd0e42

Browse files
committed
[Form] Use proper parent (text) for EmailType and TextareaType
1 parent a74ae9d commit 8bd0e42

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