cyclops icon indicating copy to clipboard operation
cyclops copied to clipboard

Feature/#148array validation expanded

Open Ujj1225 opened this issue 1 year ago • 4 comments

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

Ujj1225 avatar Oct 13 '24 11:10 Ujj1225

@quest-bot loot #148

Ujj1225 avatar Oct 13 '24 11:10 Ujj1225

Quest PR submitted! image Quest PR submitted!

@Ujj1225, you are attempting to solve the issue and loot this Quest. Will you be successful?


Questions? Check out the docs.

quest-bot[bot] avatar Oct 13 '24 11:10 quest-bot[bot]

@petar-cvit please review

Ujj1225 avatar Nov 07 '24 12:11 Ujj1225

@petar-cvit check now

Ujj1225 avatar Nov 08 '24 11:11 Ujj1225