I'm looking to add some conditional content using the statement below:
{{#if (eq contact.contractstate 'Settled')}}
Dummy text for settled contracts.
{{else}}
Dummy text for all other contracts.
{{/if}}
The field contact.contractstate is a 'choice' data type. Could this be the reason why I'm getting this error?
> Dynamic content contains a conditional statement that compares values of different types: {{#if (eq contact.ava_contractstate 'Settled')}}.