Open kygoh opened 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 |
@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
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