I want to hide the phone fiels if name field templateOptions custom property value is 'V1' ``` { "key": "name", "type": "text", "templateOptions": { "myCondition":"V1", "label": "Name" } }, { "key": "phone", "type": "text", "templateOptions": { "label": "Phone" }, "hideExpression": "model.name.templateOptions.myCondition=='V1'" } ``` but this way is not working. How can I use templateOptions properties in hideExpression. How can I reference values in this properties for use in expresions in field definitions. Thank you
I want to hide the phone fiels if name field templateOptions custom property value is 'V1'
but this way is not working.
How can I use templateOptions properties in hideExpression. How can I reference values in this properties for use in expresions in field definitions.
Thank you