Dynamic parameters RPC

Hi Abdulkarim,

I believe something like this should fit the bill (you would need to use the “nested” directive)

[
 {
    "name":"type",
    "label":"Type",
    "type":"select",
    "options":{
		"store":[
            {"value":"animal"},
            {"value":"person"}
        ],
        "nested": [
                {
                    "name": "parameter_2",
                    "type": "select",
                    "label": "Parameter 2",
                    "required": true,
                    "mappable": false,
                    "options": {
                        "store": "rpc://getparams"
                    }
                }
            ]
		},
    "required":true
    }   
]
4 Likes