Skip to content

Package to provide a z3c.form widget that is based on plone.formwidget.autocomplete but is stripped of all its Plone and Zope2 dependencies.

Notifications You must be signed in to change notification settings

propertyshelf/z3c.formwidget.autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

z3c.formwidget.autocomplete is a z3c.form widget that is based on plone.formwidget.autocomplete but is stripped of all its Plone and Zope2 dependencies.

It uses the jQuery Autocomplete widget, and has graceful fallback for non- Javascript browsers. There is a single-select version (AutocompleteFieldWidget) for Choice fields, and a multi-select one (AutocompleteMultiFieldWidget) for collection fields (e.g. List, Tuple) with a value_type of Choice.

When using this widget, the vocabulary/source has to provide the IQuerySource interface from z3c.formwidget.query and have a search() method.

About

Package to provide a z3c.form widget that is based on plone.formwidget.autocomplete but is stripped of all its Plone and Zope2 dependencies.

Resources

Stars

Watchers

Forks

Packages

No packages published