Action auto generated input based on previous inputs: option to disable from editing
V
Vismantas Pavilonis
Here I am generating “resource_prefix” from the previous inputs of “.properties.project_id” and “.properties.env”:
"resource_prefix": {
"icon": "DefaultProperty",
"type": "string",
"title": "Resource name prefix (auto-generated)",
"description": "Resource prefix based on project and environment.",
"default": {
"jqQuery": ".form.project.properties.project_id + \"-\" + .form.environment.properties.env"
},
"dependsOn": [
"project",
"environment"
]
},
This works very well. As for potential improvement I would like “resource_prefix” to be auto-generated from the previous inputs and NOT EDITABLE from the user form.