Formio-data

Latest version: v2.1.0

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

Scan your dependencies

Page 1 of 4

2.1.0

Fix `value_label` property (getter) in `selectComponent`, if no value is set.

**WARNING - Backward incompatibility**\
This also changes `value_label` return value from `False` to `None` if no value is set.\
So check whether to update any usage (code).\
However no need when `None` is used in comparisons (`if` etc), which converts to boolean `False`.

2.0.3

Add `dataSrc` property (getter) in `selectboxesComponent`.

2.0.2

Improve the `selectComponent` class to support the property Data Source Type (`dataSrc`) with URL.\
This applies to the methods `value_label` and `value_labels`, which use the stored label(s).\
So this doesn't execute a request to the URL, because we can't take any control (e.g. due to authentication) over the host/server/service,

2.0.1

Improve the `Component` class `conditional_visible_when` method, to also obtain a Dictionary for the value of triggering component.\
Remove the now redundant `conditional_visible_when` method from the `selectboxesComponent`, because a generic implementation is now in the `Component` class.

2.0.0

Fix `datetimeComponent` which is always stored as ISO with combined date, time and timezone.\
The previous implementation was wrong and now backwards imcompatible.\

**Warning**:

Test all `datetimeComponent` setters and their impact on implementations.

1.2.7

Fix ValueError in `datetimeComponent` value setter exception handler:\
`ValueError: <class 'TypeError'>: "fromisoformat: argument must be str" while evaluating`

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.