diff --git a/Form/Type/YamlType.php b/Form/Type/YamlType.php index 1669ed2..c6a2846 100755 --- a/Form/Type/YamlType.php +++ b/Form/Type/YamlType.php @@ -4,6 +4,7 @@ use gbenitez\Bundle\AttributeBundle\Form\DataTransformer\ArrayToYamlTransformer; use Symfony\Component\Form\AbstractType; +use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; @@ -25,7 +26,7 @@ public function getName() public function getParent() { - return 'textarea'; + return TextareaType::class; } public function buildForm(FormBuilderInterface $builder, array $options)