Dynamic Logic doesn't care what type of field you have, it just applies defined logic to make a field visible, not visible, read only, etc. You can use the following code as an example.
In this case the field "tenantName" will be read only if the field "status" is either "Completed" or "Canceled"
Code:
"dynamicLogic": { "fields": { "tenantName": { "readOnly": { "conditionGroup": [ { "type": "or", "value": [ { "type": "equals", "attribute": "status", "value": "Completed" }, { "type": "equals", "attribute": "status", "value": "Canceled" } ] } ] } } } }
Leave a comment: