From aa2bc5addc2110266246fdb438e1215750876b77 Mon Sep 17 00:00:00 2001 From: Schyzophrenic Date: Wed, 8 Sep 2021 01:11:58 +0100 Subject: [PATCH] [3.5] Regression Fix - Remove text align as it overwrites the attribute (breaks some custom fields) --- src/Dto/FieldDto.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Dto/FieldDto.php b/src/Dto/FieldDto.php index 77e1fecfc4..b3494bbd5e 100644 --- a/src/Dto/FieldDto.php +++ b/src/Dto/FieldDto.php @@ -4,7 +4,6 @@ use EasyCorp\Bundle\EasyAdminBundle\Config\Crud; use EasyCorp\Bundle\EasyAdminBundle\Config\KeyValueStore; -use EasyCorp\Bundle\EasyAdminBundle\Config\Option\TextAlign; use function Symfony\Component\String\u; use Symfony\Component\Uid\Ulid; use Symfony\Contracts\Translation\TranslatableInterface; @@ -239,7 +238,7 @@ public function setVirtual(bool $isVirtual): void $this->virtual = $isVirtual; } - public function getTextAlign(): string + public function getTextAlign(): ?string { return $this->textAlign; }