correctly import textareafield
This commit is contained in:
parent
d71656dd00
commit
d6f44bd29a
1 changed files with 2 additions and 2 deletions
|
@ -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'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue