correctly import textareafield

This commit is contained in:
Jannis Portmann 2021-04-27 13:20:37 +02:00
parent d71656dd00
commit d6f44bd29a

View file

@ -8,9 +8,9 @@ use App\Entity\User;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
use EasyCorp\Bundle\EasyAdminBundle\Field\AssociationField;
use EasyCorp\Bundle\EasyAdminBundle\Field\IdField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextareaField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
use EasyCorp\Bundle\EasyAdminBundle\Field\IntegerField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextAreaField;
use EasyCorp\Bundle\EasyAdminBundle\Field\DateTimeField;
class OfferingCrudController extends AbstractCrudController
@ -28,7 +28,7 @@ class OfferingCrudController extends AbstractCrudController
yield DateTimeField::new('createdAt'),
yield TextField::new('photoFilename'),
yield IntegerField::new('zipcode'),
yield TextAreaField::new('description'),
yield TextareaField::new('description'),
];
}
}