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

With django-autocomplete-light, select2 autocomplete field reverts to select-box after inline drag-drop #214

Open
kygoh opened this issue Jan 8, 2022 · 2 comments

Comments

@kygoh
Copy link

kygoh commented Jan 8, 2022

After an inline drag and drop, django-autocomplete-light select2 autocomplete field will revert to select-box interface (<select>). This does not happen with django ModelAdmin.autocomplete_fields

django-autocomplete-light==3.8.2
django-nested-admin==3.4.0

Before

After drag and drop

@kygoh
Copy link
Author

kygoh commented Jan 9, 2022

Further trials with autocomplete widget on:

  • Django==3.2.11
  • django-autocomplete-light==3.8.2
  • django-nested-admin==3.4.0
Action ModelAdmin.autocomplete_fields django-autocomplete-light
add first inline row widget duplicated; see #154 (comment) no issue
drag and drop no issue widget reverts to select-box; see above

@trumpet2012
Copy link

@kygoh I also ran into this issue, I have a PR up with django-autocomplete-light to fix this. yourlabs/django-autocomplete-light#1309

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

2 participants