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

Find a way for Select2 to programmatically search #1246

pbanaszkiewicz opened this issue May 15, 2018 · 2 comments


None yet
2 participants
Copy link

commented May 15, 2018

With switch from django-selectable to django-autocomplete-light, a newer and better autocomplete widget was introduced: Select2.

Unfortunately in about 5 places we used django-selectable to programmatically find something in and select from one of AMY's lookups (e.g. a language by it's subtag ('EN' for English, 'PL' for Polish, etc.).
This feature was dropped in #1245. If there's a way to bring it back, we should try.


This comment has been minimized.

Copy link

commented Jun 24, 2019

@pbanaszkiewicz Can you share more information about what this means and how it will impact us?


This comment has been minimized.

Copy link
Contributor Author

commented Jun 25, 2019

@maneesha this was mostly for me; in some places we use Select2 widgets. I want to be able to load data asynchronously into such widget and then programmatically (via JavaScript) select specific item from the list. Unfortunately it seems Select2 dropped such feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.