Answer the question
In order to leave comments, you need to log in
"Cannot convert object to primitive value" error in filter?
Hello! There is an Entity with an isEnabled field.
Symfony4 and EasyAdminBundle are installed, everything works well, but through the yaml configuration I decided to add filtering by the isEnabled field for list, as stated in the documentation , I did this:
# config/packages/easy_admin.yaml
easy_admin:
entities:
Users:
class: App\Entity\MyEntity
list:
filters: ['isEnabled']
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question