Another option would be JQuery Autocomplete:

        https://github.com/devbridge/jQuery-Autocomplete

I have used both, JQuery Autocomplete is simpler to get going but Select2 is 
more flexible.

François

> On Jul 15, 2015, at 7:27 PM, Dan Tagg <[email protected]> wrote:
> 
> Select2 can do this https://select2.github.io. Other alternatives are 
> available too.
> 
> Dan
> 
> On 13 Jul 2015 4:27 pm, "Miguel Pereira Legal" <[email protected]> wrote:
> I have this two questions:
> 
> I am trying to write a small stock management system, and I am finding 
> problems in the Form.
> See, when an item goes out I have a dropbox (ChoiceField) to choose the item 
> that is going out, but this dropbox gets too long when you have so many 
> elements in the data base to choose from.
> 
> There is a way to implement a ChoiceField with a integrated search box to 
> make this search and selection more flexible?
> 
> If anyone have another idea, I will listen.
> 
> In the other hand, about the related dropboxes.
> What about if I have a Form where I need to chose a Manufacturer and THEN a 
> Model (i.e Samsung and then S6).
> 
> I need that after the selection of "Samsung" the next dropbox filter the 
> options for that manufacturer. I need that functionality because if the user 
> can choose freely the Manufacturer and then de model, it could be wrong (i.e. 
> the user could choose Samsung and then 6S, and 6S is not a cellphone model of 
> Samsung).
> 
> Thanks for your patience.
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/742c2210-5cce-42cb-9997-c9258fd602db%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAPZHCY4FFYe8XMwwrFLjnHnVhCNMJJGpnq6mimfm2x9Lujpp3g%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/13C57846-57C5-4827-B23E-86F8F3687604%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to