Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autocomplete to EntityFilter #4244

Open
wizhippo opened this issue Mar 11, 2021 · 10 comments
Open

Add autocomplete to EntityFilter #4244

wizhippo opened this issue Mar 11, 2021 · 10 comments
Labels
feature priority: important Bugs to fix and features to implement
Milestone

Comments

@wizhippo
Copy link
Contributor

wizhippo commented Mar 11, 2021

Current the EntityFilter loads all options. In a large list this can be a hassle.

It would be nice to piggy back off of the AssociationField and use it's autocomplete.

Here is a working example but would need to be refactored

https://gist.github.com/wizhippo/9043a6676ce2920676b730ba2f507655

Not sure if there would be any drawbacks to this.

@joel-loycom
Copy link

Hi!
We have right now this problem and we could really benefit from this being added to the library.. meanwhile is there any workaround that we can do so it doesn't load all our entites? it makes it really slow

@NovakHonza
Copy link
Contributor

Yeah, it would be great to have such a feature in EasyAdmin.

@kadiiski
Copy link

+1 here, pretty cool one.

@mvmaasakkers
Copy link
Contributor

+1 here as well

@kiler129
Copy link
Contributor

@javiereguiluz is there any chance for this being merged if a proper PR is added?

@ksn135
Copy link
Contributor

ksn135 commented Jan 17, 2023

👍

@tonyellow
Copy link

+1 would be very usefull

@joel-loycom
Copy link

I can confirm that using the code on here https://gist.github.com/wizhippo/597bf56cd69dfd3682d8a0eee67ac5c0 really helped for us. Thank you!

@hidabe
Copy link

hidabe commented Mar 22, 2023

I can confirm that using the code on here https://gist.github.com/wizhippo/597bf56cd69dfd3682d8a0eee67ac5c0 really helped for us. Thank you!

It not working for me, but could be good solution

@pyrech
Copy link
Contributor

pyrech commented May 21, 2024

It would be awesome if entity filter supported natively autocomplete/lazyload 👍. It's currently unusable when there is a lot of data as it fails to load everything and return all the choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature priority: important Bugs to fix and features to implement
Projects
None yet
Development

No branches or pull requests