django-jazzmin icon indicating copy to clipboard operation
django-jazzmin copied to clipboard

Selecting value for raw_id_field in InlineAdmin doesn't work when using Modals

Open PavelPancocha opened this issue 3 years ago • 0 comments

Hi there!

We ran into issue, when you have inline-admin with raw_id_fields and modals enabled:

image

When you add a new row, click to find FK(Supervisor in this case), you cannot select it. If the row is not new, it works as expected.

How to reproduce this bug:

  • Modals: Enabled
  • Two models, with FK
  • Use inline admin with raw_id field
  • Add new instance of the model and go to choose the value from the raw_id field
  • It cannot be done

You can see it also on this video.

How to reproduce it yourself? Clone my repo, install django-jazzmin (from requirements) and you are ready to test it!

PavelPancocha avatar Apr 16 '21 12:04 PavelPancocha