yourlabs / django-autocomplete-light

A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
https://django-autocomplete-light.readthedocs.io
MIT License
1.8k stars 468 forks source link

How to fix the conflict with django-jet? #1016

Open gotounix opened 6 years ago

gotounix commented 6 years ago

conflict

There are two select2 fields when use it in django-jet.

jpic commented 6 years ago

What happens if you disable autocomplete of django-jet ?

anwarirl commented 6 years ago

I also have the same problem. I disabled autocomplete of django-jet according to this instruction http://jet.readthedocs.io/en/latest/autocomplete.html#disabling-autocomplete-for-form-fields --> doesn't work, still duplicate select2 fields.

any other solution?

django==2.0.5 django-jet==1.0.7 django-autocomplete-light==3.2.10

jpic commented 6 years ago

What happens if you disable both DAL and jet autocomplete ? Do you get a normal select field ?

anwarirl commented 6 years ago

In the same django app, I have another form that didn't use DAL, and it show jet select field (autocomplete) correctly.

jpic commented 6 years ago

What happens if you disable both DAL and jet autocomplete ? Do you get a normal select field without select2 ? ie. plain html