Formio-data

Latest version: v2.1.0

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

Scan your dependencies

Page 3 of 4

1.2.0

New "component class mapping feature" for the Builder instantiation:\
Map a custom component type to an implemented component class, which is then loaded.

An example is available in the unittests of file: `tests/test_component_class_mapping.py`

Also refactored the Builder constructor, from some `kwargs` to keyword arguments.

1.1.0

Put component classes as files in the new `components` directory.\
Change the instantiation of a component in the `get_component_object` method of the `Builder` class.

**Warning**:

This changes the `import` declaration (path) of how components should be imported.

**Old style import:**:

python
from formiodata.components import textfieldComponent


**New style import:**

python
from formiodata.components.textfield import textfieldComponent


Also some additional minor improvements, e.g. remove unused imports and newlines.

1.0.5

Add Component properties:
- `tableView`: Display // Table View
- `disabled`: Display // Disabled

1.0.4

Add Component properties:
- `conditional`: Conditional // Simple Conditional
- `custom_conditional`: Conditional // Custom Conditional
- `templates`: Templates (eg templates for layout and (data) grids.)
- `logic`: Logic (trigger/action pairs).

1.0.3

Add the country_code property in the addressComponent.

1.0.2

Refactor builder component path properties, to store objects, with key and label getters.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.