#Replacement for variables in bindings
1 messages · Page 1 of 1 (latest)
what 😭
you cannot use #bindings in variables/requires
if you want to show something condictionally use method lets call it
show/hide
show element1 if #text = something
show element2 if #text = something_but_idk
{
"binding_type": "view",
"source_property_name": "(#text_value = 'idk')",
"target_property_name": "#visible"
}```
put this is bindings: [{here}]
so basically just duplicate the element and add a diff binding to both?
that's good alternative