cyclops
cyclops copied to clipboard
Feature/#148array validation expanded
closes #148
📑 Description
ArrayField Component intially supported only Strings and Objects. I updated the ArrayField component by adding conditions to handle different data types within arrays:
- Numbers: Used InputNumber wrapped in a Form.
- Booleans: Used Checkbox with valuePropName="checked" inside Form.Item.
These changes allow the component to dynamically render inputs based on the data type defined in field.items.type.
✅ Checks
- I have performed a self-review of my code
@quest-bot loot #148
Quest PR submitted!
@Ujj1225, you are attempting to solve the issue and loot this Quest. Will you be successful?
Questions? Check out the docs.
@petar-cvit please review
@petar-cvit check now