Skip to main content

Adding input dependencies

I would like to somehow be able to add field dependencies for example in selectors show local options or from some API.

For example:

{

"type": "Select",

"label": "Category",

"value": "",

"checked": true,

"name": "category",

"placeholder": "Enter Placeholder",

"description": "",

"required": true,

"disabled": false,

"options": ['category1', 'category2', 'category3'],

"depends_on": null,

},

{

"type": "Select",

"label": "Products",

"value": "",

"checked": true,

"name": "products",

"placeholder": "Enter Placeholder",

"description": "",

"required": true,

"disabled": false,

"options": "/api/category/products",

"depends_on": 'category'

},

What do you think?

Status: Completed1 comment

Log in to comment and vote

Comments1

  • Hasan Harman

    Team•

    Oct 3, 2024

    Thank you, Victor. I’ll examine it and add it soon.