N
N
nkt_s2018-10-19 16:09:09
Django
nkt_s, 2018-10-19 16:09:09

How to add empty value to django-jet autocomplete ajax field?

The project uses django Jet. Due to the large number of objects displayed in the admin field, it was decided to use autocomplete , which displayed a list of objects of another model via ajax:
5bc9d65e49000276537895.png
The problem turned out to be that there is no empty value that can be selected:
5bc9d6d76b844481188875.png
If someone faced the same problem, tell me the options solutions. Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question