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 (AutocompleteSelectionFieldWidget) for Choice fields, and a multi-select one (AutocompleteMultiSelectionFieldWidget) 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.
Changelog
1.1 (2010-08-25)
Force the inserted HTML radio buttons to be interpreted as HTML instead of text. [dukebody]
Fall back to the site to perform content-related operations if the context is not wrapped into an aquisition chain. [dukebody]
Compute the view name as the request URL left-stripped the content absolute URL. [dukebody]
Use the same display template for single- and multi-selection: The single selection display template was non functional before. The value of a single selection field is wrapped in a list anyways so the multiselection template renders the single selection field just fine. -> https://dev.plone.org/plone/ticket/10495
Update widget in the autocomplete-search browser view: The self.context.update() call rebinds to source which previously was only bound during traversal. This avoids problems with sources that only work after security is applied. [gaudenzius]
1.0 - 2010-04-19
Issue 107: plone.formwidget.autocomplete: problems in IE8 when changing value Added a JavaScript work around, which dechecks all existing radio fields before adding a new one which is checked. [jbaumann]
Made the widget work properly in Zope 2.12. [optilude]
1.0b3 - 2009-06-29
Fix security validator to work properly on add views and other views using namespace traversal (++add++…) [optilude]
1.0b2 - 2009-04-08
Fix security validator to work with urls not including the @@ view name. [optilude]
Made widget use getURL() instead of constructing URL from underlying view. This makes it work with complex traversal logic. [optilude]
1.0b1 - 2008-08-28
Initial release
Metadata
Release files for plone.formwidget.autocomplete 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| plone.formwidget.autocomplete-1.1.tar.gz | 31.7 kB | Without provenance | Details |
Release files / plone.formwidget.autocomplete-1.1.tar.gz
| Download URL | plone.formwidget.autocomplete-1.1.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6835ebbcac2a19cfe214fbae4dd68fcd7eca092cecc879eed1818babf3fcd78
|
|
BLAKE2b-256 checksum How to use checksums |
3e1a7a088c1f93b8c556342a55b23ed38fdd639447daf139b01ece8ce6411c58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for plone.formwidget.autocomplete 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.