On dinsdag 10 juli 2018 15:24:16 CEST umar...@gmail.com wrote:

> But now I'm not able to change the input box create by autocomplete-light.
> I've seen we can create ours custom html base on the receive data from the
> database but is there a way to just use the default Html and CSS created by
> the framework and change some styling attribute like width, of height ?

Yes you can:
- Override html[1] 
- Pass options to Select2[2] 

P.S. Excellently formulated question.
-- 
Melvyn Sopacua

--------
[1] 
http://django-autocomplete-light.readthedocs.io/en/master/tutorial.html#displaying-results-using-custom-html
[2] 
http://django-autocomplete-light.readthedocs.io/en/master/tutorial.html#passing-options-to-select2

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1762850.8RUfgpKREi%40fritzbook.
For more options, visit https://groups.google.com/d/optout.

Reply via email to