Formio-data

Latest version: v2.1.0

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

Scan your dependencies

Page 2 of 4

1.2.6

- Fix `datetimeComponent` value setter, to properly parse when the
`enableTime` property is `False`.\
This fixes a bug/regression in version 1.2.3.
- Update README concerning the datetime component value.

1.2.5

Improve the load methods for components and `gridRow`, by passing
whether it applies to a Form `is_form`, otherwise it's obtained as a
Builder.

Ensure an empty form `gridRow` doesn't appear in a grid's `rows`
property, made possible by the other `is_form` change.

1.2.4

Implementation of "simple" validation required.

For a Form object the validation errors can be retrieved by the new
`validation_errors()` method.

The new component method `validation_errors()` can be extended and
returns either a dictionary or a list (for grid components) with the
validation errors.

1.2.3

Improve the `datetimeComponent` value setter, to properly parse a date
with a custom format, when the `enableTime` (new property) is `False`.

Provide the `component_class_mapping` (interface) in the keyword arguments of the Form (class) instantiation.

1.2.2

Refactored the `Component` class `conditionally_visible` method, to
call the following 2 methods which can be extended in component
subclasses:
- `conditional_visible_json_when`
- `conditional_visible_json_logic`

Implemented the `conditional_visible_json_when` method for the `selectboxesComponent`.\
Extended the unittest `ConditionalVisibilitySimpleTestCase` with simple conditional visibility for the `selectboxesComponent`.

1.2.1

Fix `get_component_object` (Builder) method to handle `ModuleNotFoundError`.\
Therefor implemented the `get_component_class` method to determine the class with a fallback to the base `Component` class.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.