plone.formwidget.autocomplete

AJAX selection widget for Plone


Keywords
Plone, selection, widget, AJAX, hacktoberfest
License
CNRI-Python-GPL-Compatible
Install
pip install plone.formwidget.autocomplete==1.4.1

Documentation

Introduction

plone.formwidget.autocomplete is a z3c.form widget for use with Plone. 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.