I have an object-dropdown for model, which has a boolean field. I want to change item’s names in the dropdown list by the value of that field.
So, can I somehow add conditions in display attribute?
Yes, this is possible by calling a function within the display
attribute and returning the designated display from that function. The expected syntax is as follows:
display="{$:functionName($object)}"
1 Like