merge_email_verifier #3
@ -8,6 +8,7 @@ use EasyCorp\Bundle\EasyAdminBundle\Field\AssociationField;
|
||||
use EasyCorp\Bundle\EasyAdminBundle\Field\CodeEditorField;
|
||||
use EasyCorp\Bundle\EasyAdminBundle\Field\IdField;
|
||||
use EasyCorp\Bundle\EasyAdminBundle\Field\TextareaField;
|
||||
use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField;
|
||||
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
|
||||
|
||||
class PagesCrudController extends AbstractCrudController
|
||||
@ -24,7 +25,7 @@ class PagesCrudController extends AbstractCrudController
|
||||
yield TextField::new(propertyName: 'name');
|
||||
yield AssociationField::new(propertyName: 'owner');
|
||||
// yield CodeEditorField::new(propertyName: 'content')
|
||||
yield TextareaField::new(propertyName: 'content')
|
||||
yield TextEditorField::new(propertyName: 'content')
|
||||
->onlyOnForms();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user