0

I am looking for implementing searchable choice field (searchable dropdown) in django using django forms and models.

This choice field will be populated from database.

Ronak
  • 187
  • 2
  • 17

1 Answers1

0

This cannot be easily done only with Django, check this list of Django packages that implement the AutoCompletable feature.

I have used and I personally recommend you Django Autocomplete Light.

Hagyn
  • 922
  • 7
  • 14
  • Django Autocomplete Light is really very good. Thanks! – Ronak May 19 '21 at 08:40
  • I have implemented django-autocomplete-light widget. Can you let me know how to get name of months instead of number. Also, can we set default values of month and year https://stackoverflow.com/questions/67604975/django-django-yearmonth-widget-display-month-as-month-name – Ronak May 20 '21 at 10:50
  • I have opened a new question in stackoverflow https://stackoverflow.com/questions/67604975/django-django-yearmonth-widget-display-month-as-month-name – Ronak May 20 '21 at 10:51