Skip to Content
Menu
This question has been flagged
1 Reply
687 Views

I'm trying to set an invisibility condition on the PO confirm button..which is based on a selection type field available in the view. But the code im using doesn't work for the button....



{"invisible": [["x_studio_vendor_approval_status","=","Approved"]]}

Avatar
Discard
Author Best Answer

So the original view where the button was defined had another state domain defined on it. When I add an additional domain via XPath, it adds a AND separator instead of an OR separator between conditions. That was something i could fix through XPath expressions
"
the states="draft" " needed to go away
or else this was happening

You have to write a modified domain by adding both condition separated by an OR operator

Avatar
Discard