Python
Latest commit 9208b84 Nov 30, 2016 @tdesvenain tdesvenain committed on GitHub Merge pull request #2 from tdesvenain/fix_items_generator
Compatible with z3c.form > 3.2.10

README.rst

Overview

This package implements a widget that lets users enter a query and select from the results.

The widget works with zope.schema.Choice-fields supplying a query source [1], optionally in conjunction with a collection field which then allows multiple selections.

The easiest way to use the widget is to provide one of the following as widgetFactory:

  • z3c.formwidget.query.widget.QuerySourceFieldRadioWidget
  • z3c.formwidget.query.widget.QuerySourceFieldCheckboxWidget

[1] The source needs to implement IQuerySource as defined in this package.