From e8327f9de01461faf7fef04dd7f71a0b5828a56c Mon Sep 17 00:00:00 2001 From: tracer Date: Thu, 3 Nov 2022 18:55:24 +0100 Subject: [PATCH] made quotes TextAreaField --- src/Controller/Admin/QuotesCrudController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/Admin/QuotesCrudController.php b/src/Controller/Admin/QuotesCrudController.php index d371584..db59240 100644 --- a/src/Controller/Admin/QuotesCrudController.php +++ b/src/Controller/Admin/QuotesCrudController.php @@ -5,7 +5,7 @@ namespace App\Controller\Admin; use App\Entity\Quotes; use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController; use EasyCorp\Bundle\EasyAdminBundle\Field\IdField; -use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField; +use EasyCorp\Bundle\EasyAdminBundle\Field\TextareaField; use EasyCorp\Bundle\EasyAdminBundle\Field\TextField; class QuotesCrudController extends AbstractCrudController @@ -21,7 +21,7 @@ class QuotesCrudController extends AbstractCrudController ->onlyOnIndex(); yield TextField::new(propertyName: 'quote') ->onlyOnIndex(); - yield TextEditorField::new(propertyName: 'quote') + yield TextAreaField::new(propertyName: 'quote') ->onlyOnForms(); } }