src/Form/Type/EasyAdminBatchFormType.php
public function buildForm(FormBuilderInterface $builder, array $options): void
    {
        $builder->add('name', HiddenType::class);
        $builder->add('ids', HiddenType::class);

        $builder->get('ids')->addModelTransformer(new CallbackTransformer(
            function ($value) { return $value; },
            function ($value) { return explode(',', $value); }
        ));
    }
public function buildForm(FormBuilderInterface $builder, array $options): void
    {
        $builder->add('name', HiddenType::class);
        $builder->add('ids', HiddenType::class);

        $builder->get('ids')->addModelTransformer(new CallbackTransformer(
            function ($value) { return $value; },
            function ($value) { return explode(',', $value); }
        ));
    }
{@inheritdoc}