Metadata-Version: 2.1
Name: z3c.formwidget.query
Version: 1.0.0
Summary: A source query widget for z3c.form.
Home-page: https://github.com/zopefoundation/z3c.formwidget.query
Author: Zope Community
Author-email: zope3-dev@zope.org
License: ZPL 2.1
Keywords: zope zope3 z3c.form
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Zope :: 3
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: test
License-File: LICENSE.txt

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.


Changelog
=========

1.0.0 (2022-09-07)
------------------

- Add Chinese translation.

- Add support for Python 3.5, 3.8, 3.9, 3.10.


0.17 (2018-11-08)
-----------------

New features:

- Register ``z3c.autoinclude`` entry point for automatic inclusion in plone.
  [maurits]

- Add support for Python 3
  [pbauer]


0.16 (2017-11-26)
-----------------

Bug fixes:

- Improved code quality.  [maurits]


0.15 (2017-08-09)
-----------------

- Added translations for this package.  Italian and Dutch available now.
  [ale-rt, fredvd, maurits]


0.14 (2017-07-18)
-----------------

- Drop support for Python 2.6.


0.13 (2017-01-17)
-----------------

- Compatible with z3c.form > 3.2.10, where radio and checkbox `items` property is a generator.
  [thomasdesvenain]


0.12 (2015-09-09)
-----------------

- Code moved to https://github.com/zopefoundation/z3c.formwidget.query
  [maurits]


0.11 (2015-04-29)
-----------------

- Get default value from IValue adapter.
  [vincentfretin]


0.10 (2014-02-19)
-----------------

- Remove :list from novalue radio box name to be the same behavior
  as z3c.form >= 2.6.0.
  [vincentfretin]


0.9 (2012-08-30)
----------------

* Avoid test dependency on zope.app.testing.
  [hannosch]

* Remove unused dependency on zope.app.form.
  [hannosch]


0.8 (2012-02-20)
----------------

* If one of the values to be displayed provides IRoleManager,
  then check for permission first.
  [frapell]


0.7 (2011-11-07)
----------------

* Use an ordered list instead of a set to represent source items.
  [timo]


0.6 (2011-05-04)
----------------

* Add an ignoreMissing parameter and widget subclasses to avoid errors when
  rendering missing values.
  [elro]

* Create changelog file.
  [dukebody]

* Respect the ignoreRequest parameter.
  [dukebody]


0.5 (2009-04-17)
----------------

* ...


0.3 (2008-08-28)
----------------

* ...
