dwd-akira
dwd-akira
Hello, Look this issue #5004
Hi, Maybe, you can do something like this ``` public function batchDelete(AdminContext $context, BatchActionDto $batchActionDto): Response { // you modify $batchActionDto and delete the id in $batchActionDto->entityIds return parent::batchDelete($context, $batchActionDto);...
Hi, Because you need to create an action "createNewModel". linkToCrudAction need an action name, not the method.
I do this and it's working: `public const NEW_ACTION = 'myNewAction';` In configureActions: ``` Action::new(self::NEW_ACTION , 'Label') ->linkToCrudAction(self::NEW_ACTION) ``` `public function myNewAction(...` In you case, i think you can rename...
> in [the documentation](https://symfony.com/bundles/EasyAdminBundle/current/actions.html#adding-custom-actions) the method name is used. I'm agree with you. The doc says: ``` // this action executes the 'renderInvoice()' method of the current CRUD controller $viewInvoice...
Hi, > If you use Doctrine with entities, these informations are easily to determined : > > ``` > $uow = $this->em->getUnitOfWork(); > $uow->computeChangeSets(); > > $changeset = $uow->getEntityChangeSet($entity); >...
Hello, i checked and i have the same problem but after refresh the page, boolean have the good value. PHP 8.1.3 Symfony 5.4.4 EasyAdmin 4.0.7
I found the problem, because i overrided function edit and fix return (with KeyValueStore) since deprecation. Ajax response : `App\Controller\Admin\Crud\AdminCrudController::edit(): Return value must be of type EasyCorp\Bundle\EasyAdminBundle\Config\KeyValueStore, Symfony\Component\HttpFoundation\Response returned` I...
And no ajax call in the Network console ?