What is the easiest way to implement a django field with bootstrap and 
typeahead?  I found a module calleddjango-bootstrap-typeahead 
<https://github.com/aj-may/django-bootstrap-typeahead> 
<https://github.com/aj-may/django-bootstrap-typeahead>that looks exactly 
what I want. The instructions say to simply use "TypeaheadField" or 
"MultipleTypeaheadField" in n the django form.   I'm interested in using 
the MultipleTypeheadField feature, so that I can have the classic 
feature of being able to input tags, with typeahead.

I installed this boostrap/typeahead module, and then tried the 
test_project demo. See images. When I enter 2 tags into the 
"MultipleTypeaheadField", and then click submit, the first tag 
disappears, and only the 2nd tag is displayed by the code in views.py:

|messages.success(request,'MultipleTypeahead: %s'  %  
form.cleaned_data['multi_typeahead']|

See this page for image of the output from the demo:
http://stackoverflow.com/questions/32739556/best-method-to-implement-twitter-bootstrap-with-typeahead-in-django

Either I don't understand how the module is supposed to work, or the 
demo was not properly designed to show the list of all the inputted tags.

Should I use a different method?   Has anyone used this module?  Thanks. 
- Mark


-- 
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/f582428d-b552-481f-b8cc-92f827377731%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to