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

Using Select field in changelist filters #344

Closed
jdenisTLM opened this issue Apr 4, 2024 · 6 comments
Closed

Using Select field in changelist filters #344

jdenisTLM opened this issue Apr 4, 2024 · 6 comments

Comments

@jdenisTLM
Copy link
Contributor

It could be a very good improvement to re-use the select form widget, already in admin forms.

I've tried several things to achieve this goal, but it is not satisfying enough for now. If somone has already done this, or have somes clues to let us make it the more clever way to implement it with unfold ...

Thanx !

@lamchun1110
Copy link

lamchun1110 commented Apr 15, 2024

Is it possible to use the drop down menu to select as a filter like Jazzmin?
Since there may be more than 100 options in the filter, it is not user friendly if we list all the options.

image

@PavelPancocha
Copy link

This: https://github.com/francoborrelli/django-unfold-admin-list-filter-dropdown/tree/master by @francoborrelli goes one step.

@PavelPancocha
Copy link

The abilitity to filter by typing would be great

@jdenisTLM
Copy link
Contributor Author

@PavelPancocha this is a good beginning. The use of autocomplete field would be an amazing feature, to get filter for large relations !

@PavelPancocha
Copy link

@PavelPancocha this is a good beginning. The use of autocomplete field would be an amazing feature, to get filter for large relations !

I tried quickly integrate it, but failed. I will need to solve this in coming weeks.

@lukasvinclav
Copy link
Contributor

Already implemented in Unfold. Check the docs for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants