nevez
nevez
I'm using the latest EasyAdmin 4. To verify if a user can execute an action or not, you use Symfony AuthorizationChecker's isGranted() method, which has the following signature: ` public...
It seems that there is no way to do it (without redefining the entire association.html.twig template), as the AssociationConfigurator->configureToOneAssociation() will always reset the "relatedUrl" custom option. Apart from the necessity...
It would be helpful to have the collection tag available as detail of the events "ea.collection.item-added" and "ea.collection.item-removed" events, otherwise there is no simple way to know which add or...
**Describe the bug** I have a "TurnoCrudController" with this field configured in configureFields() `CollectionField::new('rigaTurnos')->useEntryCrudForm()->setEntryIsComplex()` The "rigaTurnos" field is a OneToMany with "RigaTurno": ``` #[ORM\OneToMany(mappedBy: 'turno', targetEntity: RigaTurno::class)] private Collection $rigaTurnos;...
I defined a DurationField like this: ```php namespace App\Field; use App\Form\Type\DurationType; use EasyCorp\Bundle\EasyAdminBundle\Contracts\Field\FieldInterface; use EasyCorp\Bundle\EasyAdminBundle\Field\FieldTrait; final class DurationField implements FieldInterface { use FieldTrait; /** * @param string|false|null $label */ public...
EasyAdmin 4.9.4. I have a field in an entity defined like this: #[ORM\Column(type: Types::DECIMAL, precision: 10, scale: 2, nullable: true)] private ?string $importoAs = null; in its CRUD Controller it's...
I have an invoice and accounting bundle included in my EA app. The bundle itself is an EA app, so the main app extends and reuses some of its crud...
CRUD of entity "A" includes a CollectionField of entities "B". I'm trying to define a FieldConfigurator on B's fields. When I modify an entity of type "A" which has some...
In the CrudController configureActions() method, if I write this: ``` $actions->update(Crud::PAGE_INDEX, Action::DELETE, function (Action $action) { return $action ->linkToUrl(fn ($entity) => ...anything here...) ; }) ``` The updated url is...