Closed acogent closed 7 years ago
@acogent thanks for reporting this issue!
@yceruto does the change proposed for preSubmit()
look good to you? I think it's OK, but I'd like to double check. Thanks!
Yes, @yceruto, it solves my problem. Armelle
Yes, I've improved the solution a bit https://github.com/javiereguiluz/EasyAdminBundle/pull/1848 avoiding useless DB query if the submitted data is empty. @acogent thanks!
Hello,
When i want to use autocomplete feature on an empty field, i have an exception like this when i want to save my entity :
I don't know if i can easily surcharge Form/EventListener/EasyAdminAutocompleteSubscriber, but whith :
It works.
Regards,
Armelle