Dmx-hide not working on var value

Simple problem:
1 I have a variable ‘local_status’ which is set to ‘edit’
2 I want to hide the anchor button ‘cancel_btn’ when the var is set to edit.

image
image

a href="#" class=“btn btn-dark mr-lg-4 style75” id=“cancel_btn” dmx-hide=“local_status.value==edit”>Cancel <

This doesn’t work an ideas why?

Community Page
Last updated: