I suggested to solve it so: https://github.com/web2py/web2py/issues/1190

суббота, 2 апреля 2016 г., 17:00:13 UTC+5 пользователь Valdeck Rowe написал:
>
> 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, I don't think a user 
> should have to
>
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to