django-jazzmin
django-jazzmin copied to clipboard
Selecting value for raw_id_field in InlineAdmin doesn't work when using Modals
Hi there!
We ran into issue, when you have inline-admin with raw_id_fields
and modals enabled:
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!