Autocomplete is a very useful widget, thanks.

In case it has missed anyone's attention, it can be used to
autocomplete strings without reference to another table or field, eg

db.person.name.widget=AutocompleteWidget(request, db.person.name)

In this case, it is useful to have a autocomplete list with no
duplicates.

This can be achieved in the widget with (in line 399
                .select(distinct=True, ...
or

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to