Plone-directives-form

Latest version: v2.0.3

Safety actively analyzes 687881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.0b7

------------------

* Allow arbitrary extra parameters for the fieldset directive. This is useful
for extensions that want to tweak fieldset behaviour or rendering.
[wichert]

* Add ``no_omit`` directive, so that fields that have been omitted can be
re-included again on for a more specific form interface.
[davisagli]

* Accept a form interface as an optional positional argument for the ``mode``
and ``omitted`` directives, and store it in the tagged values using the new
format expected by plone.autoform.
[davisagli]

* Add ``form.error_message()`` decorator for registering custom error
messages for errors and/or fields.
[optilude]

* Add ``form.validator()`` decorator to register a simple field validator.
See README.txt for details.
[optilude]

* Support unwrapped forms (in Zope 2.12). The default is to wrap in Zope <
2.12, and not to wrap in Zope >= 2.12. A new ``form.wrapped()`` directive
can be used to force wrapping or non-wrapping (by passing ``False`` as an
argument).
[optilude]

* Warn more forcefully when using form directives on interfaces not deriving
from ``Schema``, or using schema hints that refer to field names that cannot
be found.
[optilude]

1.0b6

------------------

* Add support for the ``primary()`` directive, which is used to set the
primary field for marshalling. See the ``plone.rfc822`` for details.
[optilude]

1.0b5

------------------

* Updated to new five.grok release.
[optilude]

1.0b3

------------------

* Made adjustments for changes in plone.supermodel's API.
[optilude]

1.0b2

------------------

* Make sure that we don't lose the function when using the
form.default_value() decorator and the other value decorators.
[optilude]

1.0b1

------------------

* Initial release

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.