I've noticed that adding autocomplete widget to a field definition (only 
appears to work programmatically) removes the form-control class attribute 
from the smartgrid input fields.

Adding this: 
db.person.status.widget = SQLFORM.widgets.autocomplete(request, 
db.person.status, limitby = (0,15), min_length=1)

changes this:
<input class="form-control string"

to this:
<input autocomplete="off" class="string"

Just wondering if I left something out or didn't configure something.

Yes I know this can be fixed with javascript but...

Thanks in advance

V


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to