The HTML element you probably want is a datalist[1]. There's no built-in Django 
support for datalist[2] so you'll probably need to create a custom widget.

[1] https://stackoverflow.com/a/14614750
[2] https://code.djangoproject.com/ticket/32125

On May 31, 2022 11:52:31 AM CDT, Phil Parkin <philparkin2...@gmail.com> wrote:
>Hi all
>
>I am converting a desktop application to Django web application. The 
>desktop app uses comboboxes (editable dropdown/select). Is their any 
>elegant way of applying the same functionality in Django? Stack Overflow 
>etc. all seem to be about dropdown select lists only.
>
>I can see ways of doing this with a Choicefield plus a separate Charfield, 
>but is there a better way?
>
>Thanks -Phil 
>
>-- 
>You received this message because you are subscribed to the Google Groups 
>"Django users" group.
>To unsubscribe from this group and stop receiving emails from it, send an 
>email to django-users+unsubscr...@googlegroups.com.
>To view this discussion on the web visit 
>https://groups.google.com/d/msgid/django-users/1b7836ae-e52e-4e35-aefc-739ce6f586d0n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/146FCD26-58D5-4A4B-898F-5F0AA1144C7D%40fattuba.com.

Reply via email to