theatlantic / django-nested-admin

Django admin classes that allow for nested inlines
http://django-nested-admin.readthedocs.org/
Other
715 stars 99 forks source link

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

Open kygoh opened 2 years ago

kygoh commented 2 years ago

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 commented 2 years ago

Further trials with autocomplete widget on:

Action ModelAdmin.autocomplete_fields django-autocomplete-light
add first inline row widget duplicated; see https://github.com/theatlantic/django-nested-admin/issues/154#issue-481266637 no issue
drag and drop no issue widget reverts to select-box; see above
trumpet2012 commented 2 years ago

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