Questions tagged [easyadmin]

EasyAdmin is a Symfony bundle that lets you create administration backends for Symfony applications with unprecedented simplicity.

EasyAdmin lets you create administration backends for Symfony applications with unprecedented simplicity.

Features

  • CRUD operations on Doctrine entities (create, edit, list, delete).
  • Full-text search, pagination and column sorting.
  • Fully responsive design (smartphones, tablets and desktops).
  • Translated into tens of languages.
  • Fast, simple and smart where appropriate.

Useful links

431 questions
3
votes
2 answers

Symfony 5. EasyAdmin 3. VichUploader. Upload multiple files at the same time

I had a perfectly working multi files upload. Upload one file at a time with one "browse" button. It's basically a Places entity that can have Many images. I am trying to modify it to upload all files at once through only one "browse" window. Select…
laneboyandrew
  • 290
  • 6
  • 17
3
votes
0 answers

How do I show an array of js objects in symfony form?

Symfony 5.3 + EasyAdmin 3.3.2 + Doctrine New approach of asking SO questions: short and simple (I got banned from asking questions before and I have no idea what I did wrong) What I have: I have an entity 'Device' which has a field…
Quatsch
  • 361
  • 1
  • 8
  • 29
3
votes
2 answers

Easy Admin 3 (Symfony 4) AssociationField in OneToOne relationship shows already associated entities

Using Symfony 4.4 with Easy Admin 3: I've a OneToOne relationship class Usuario { ... /** * @ORM\OneToOne(targetEntity=Hora::class, inversedBy="usuario", cascade={"persist", "remove"}) */ private $hora; ... } class Hora { ... …
3
votes
1 answer

Symfony 5 easyadmin 3 Entity with relation ManyToOne - NOT saving on the "many" side

I have a very basic symfony 5 + easyadmin 3 app. I created using the make:entity two entities: Posts and Categories When I try to edit Category to assign Posts, posts are not saved in DB. But If I add the category on the post edit is saves in…
Cedric
  • 181
  • 1
  • 8
3
votes
1 answer

Easyadmin manyToMany relation not saving data in base

I have a ManyToMany relation between my ressource and my categories. But when i'm trying to create a new ressource with easyadmin, the choosed categories are not saved in database. Do you have any ideas? Here is my ressource class namespace…
Akku
  • 31
  • 2
3
votes
5 answers

EasyAdmin3: clickable table-row (link to EDIT-page)

I don't like the "edit"-button at the end of each entity on the INDEX-Page (EasyAdmin 3 / symfony 5) and I would like to have the table-row clickable and it shall send me directly to the EDIT-page. I guess the solution must be using Javascript, so I…
Tim K.
  • 335
  • 4
  • 23
3
votes
1 answer

Is there a way to represent a JSON field in EasyAdmin 3?

I'm new to Symfony and still learning. I'm working currently on a Symfony application where I have a table that represents projects and every project have id, title, startDate, endDate and fields where fields is a JSON field that contains data…
3
votes
1 answer

How to display an image in the admin console with EasyAdmin 3.0 and VichUploader?

I've got an entity with an image and I'm using EasyAdmin 3.0 and VichUploader 1.14 to upload the image in the admin console. My problem is that I can't get the image displayed in the admin console. How can I do that ? Here's my entity : class…
3
votes
1 answer

EasyAdmin 3: limit data to the logged-in user still shows other data in form dropdowns

I'm using Symfony 5. I want every logged in user to have it's own space in EasyAdmin 3, so no user will see records of other users. I store the user with every table in the database. For simple list views, I managed to get this to work using a…
Oli
  • 2,370
  • 2
  • 26
  • 42
3
votes
1 answer

How to set the AssociationField choice label when using autocomplete() with EasyAdmin 3.x

Is it possible to use a property of the associated Entity as the choice label, rather than the associated Entity ID when using the autocomplete method on an AssociationField in an EasyAdmin EntityCrudController? Example: I have 3 Entities with the…
BrandynL
  • 33
  • 1
  • 4
3
votes
0 answers

Symfony 5 EasyAdmin 2.x 'admin' route not working

I add the following lines in my .htaccess file: # Prevent direct access to the "public" folder - redirect to root RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /public/ RewriteRule ^public/(.*) /$1 [R=302,L] # Redirect Trailing Slashes If Not A…
Siddiqui Noor
  • 5,575
  • 5
  • 25
  • 41
3
votes
2 answers

EasyAdminBundle: Validation not working on CKEditorType

In my admin panel created with EasyAdminBundle, my form validations only work with fields that do not have the CKEditorType. Some fields need to be edited so I implemented a WYSIWYG with FOSCKEditorBundle. Snippet from field concerned: - { property:…
Helenesh
  • 3,999
  • 2
  • 21
  • 36
3
votes
1 answer

Symfony 4 easy admin and vich uploader bundle error

I am using vich-uploader bundle with easy-admin with symfony4. After setup i'm getting this error when trying to delete or update entity Expected argument of type "string", "NULL" given at property path "imageName". The config of application is…
Serega Belous
  • 401
  • 1
  • 3
  • 9
3
votes
1 answer

Symfony 3 - Content Security Policy

I have a problem with Content Security Policy. Whenever I trying to include the JavaScript into my project, I get an content-security-policy error. Symfony