Make autocomplete on text Input field using django-autocomplete-light 3.2.10

Viewed 548

I have integrate django-autocomplete-light 3.2.10 successfully and it is working fine the issue is with its UI

In template it renders with <select> <option> html, after clicking on it a span get attached to it with input text field inside.

enter image description here

In form i am using ModelSelect2 as widget.

widget=autocomplete.ModelSelect2(url='discovery:city-autocomplete')

TextWidget is not supported in latest version 3.2.10

I just want the input text field directly visible to user. is there any possible way to achieve it with same library. May be i can create my own CustomTextWidget, or use some javascript to customize its UI

0 Answers
Related