I haven't been able to get this to work:

# Models
db.define_table('category',Field('name'))
db.define_table('product',Field('name'),Field('category'))
db.product.category.widget = SQLFORM.widgets.autocomplete(request,
db.category.name, limitby=(0,10), min_length=2)

# View
{{= SQLFORM.grid(db.product) }}

----

How do I bind the search input box to the autocomplete widget?

Thanks for all suggestions,

Alec Taylor

-- 

--- 
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/groups/opt_out.


Reply via email to