Questions tagged [easyadmin3]
83 questions
1
vote
2 answers
Array to string conversion in EasyAdmin 3 (Symfony 5)
I'm trying to display a json array on the EasyAdmin detail page. I read here Is there a way to represent a JSON field in EasyAdmin 3? that you can use ArrayField in EasyAdmin 3 to display a json array, which would make sense to me as that is the…

madebyjo_l
- 28
- 8
1
vote
1 answer
How to create dropdown select in Symfony easy admin crud panel?
I am new in Symfony. I have relation tables such as authors, books and book_authors. One book can have many authors and one author can have many books.
So, here is my tables:
And now, I am trying to implement crud controller with easy admin…

Ildar Nasurlaev
- 167
- 4
- 10
1
vote
1 answer
easyaDmin 3.3 create custom filter
I struggle to understand how i'm supposed to do a custom filter in easyadmin 3.3 . The documentation isnt helping. I alway got an error
Error: Class App\Entity\entity1 has no field or association named "field1"
So i tried to put the mapping as false…

Cephalopodius
- 117
- 1
- 10
1
vote
1 answer
EasyAdmin 3: how to retrieve edit form values
I am using EasyAdmin 3 and I am trying to create a validation system where:
ROLE_EDITOR can edit an Entity (e.g. Operateur) via EasyAdmin (OperateurCrudCrontroller) and the edited data of this Operator is saved in another temporary table…

Atalaia
- 45
- 1
- 6
1
vote
1 answer
How to create a data validation system in Symfony EasyAdmin3
To put in context there is an editor who can modify his information according to his id and his information must be validated by the admin before persisting in the database.
I have in mind to create a temporary table to store the information that…

Maxime05
- 11
- 1
1
vote
0 answers
Fields of 2 entities in one CrudController, in EasyAdmin 3
I am working on a personal project and I have a little problem.
I have 2 entities, Bibliotheque and ComicBook. I would like the fields of these 2 entities to be present in a single CrudController, which I named BibliothequeCrudController.
I…

AlexBF
- 11
- 1
1
vote
1 answer
EasyAdmin 3 : Nested forms (Callection in another Collection)
I use EasyAdmin 3.
I'm creating a newsletter manager with Symfony 5. My entities are built as such.
Newsletter (ManyToOne => NewsletterItem)
NewsletterItem (ManyToOne => NewsletteItemSub)
NewsletteItemSub
In EasyAdmin, I was able to add a…

nemoxi
- 530
- 1
- 7
- 23
1
vote
1 answer
EasyAdmin 3 datetime picker time format
How to change native easy admin 3 in symfony date/time picker time format? It now renders month, day, year. How do you set to 'Y-m-d H:i'?

Efkiss
- 95
- 3
- 10
1
vote
1 answer
Could not determine access type for property "image" in class "App\Entity\XXXX". Symfony 4 - EasyAdmin 3.2 - VichUploader
Strugling here trygin to integrate VichImageUploader into my EasyAdmin 3.2.
This version of EasyAdmin is letting us create custom Fields which works just fine.
In my case I am only trying to upload 1 image and push it into my DB. I set up my Easy…

Mario Chacon
- 98
- 1
- 6
1
vote
2 answers
How to change pagination in easyadmin 3
I am using symfony 5.2 and easyadmin 3 for backend. In the easyadmin 3 there is default pagination style and structure is like Previous | Next. Now, I need to change pagination like First | Previous | 1 | 2 | 3 | 4 | 5 | Next | Last.
Is there any…

Yagnesh Makwana
- 301
- 2
- 11
0
votes
0 answers
Use custom JS with EasyAdmin
i have a problem :
I can't add option to my autocomplete generated by Easyadmin.
Here the context
I have a YoloController extends AbstractCrudController
I override createEditFormBuilder with a field :
public function createEditFormBuilder(EntityDto…

user2389203
- 11
- 3
0
votes
1 answer
Symfony 6 EasyAdmin 4 VichUploader Multi files
could you help me how to upload files using Symfony 6 and EasyAdmin 4 ?
I have:
File
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ApiProperty]
public ?string $contentUrl;
#[ApiProperty]
…
0
votes
1 answer
easyadmin 3.3 groupby in AssociationField
I'm using symfony 5.1 and easyadmin 3.3, I know I'm not updated but now I can't update right now.
I have a relationship 1:m between Product and Dealer, in the ProductCrudController I have a Dealer as a AssociationField and I have a query_builder to…

Jaime Roman
- 749
- 1
- 11
- 26
0
votes
0 answers
Configure permissions for a user with the 'ROLE_USER'
I am having trouble configuring the permissions of a user with the 'ROLE_USER' role so that they can only edit, view, or delete their own articles with EasyAdmin 3. I have tried using the 'setEntityPermission' method, but it returns all articles,…
0
votes
1 answer
Bug in AssociationField with autocomplete() for Many to Many field in EasyAdmin
I have an entity called Question which has a Many to Many relationship with another entity User. So I have following tables:
question(id, field1, users)
user(id, name)
question_user(question_id, user_id)
I use EasyAdmin for creating QuestionCrud…

Bakhtiyor
- 7,198
- 15
- 55
- 77