I'm using react-email-editor and trying to add display conditions, but clicking on "Add Display Condition" doesn't do anything.
Here's what I've tried so far:
- Used two versions of the package:
1.6.3 and 1.7.11
- For both versions, I attempted to add
displayConditions via the options object
- In
1.7.11, I also tried calling unlayer.setDisplayConditions() in the onReady callback
None of these approaches had any effect. The "Add Display Condition" button remains unresponsive.
Am I missing something, or is there a specific setup required for display conditions to work?
I'm using react-email-editor and trying to add display conditions, but clicking on "Add Display Condition" doesn't do anything.
Here's what I've tried so far:
1.6.3and1.7.11displayConditionsvia theoptionsobject1.7.11, I also tried callingunlayer.setDisplayConditions()in theonReadycallbackNone of these approaches had any effect. The "Add Display Condition" button remains unresponsive.
Am I missing something, or is there a specific setup required for display conditions to work?