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?

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board

πŸ’‘ Feature Request

Date

Over 1 year ago

Author

Victor Marcas

Subscribe to post

Get notified by email when there are changes.