Apply dynamic class based on $currentObject association but not available.
0
Entity A *-1 Entity B Entity B has a string value called 'label' and a Boolean value called 'isDisabled'. A Reference Selector is used to dynamically create the values in the drop-down; the Reference Selector is placed in a Dataview and the Data Source of the Data View is set with Entity A. The Data Source of the ReferenceSelector's Data Source is set to the Label of the String Value of Entity B, which is connected to Entity A by an Association. By doing this, the values of the labels in the list of Entity B's associated with Entity A can be displayed in the Reference Selector. I want to assign a Dynamic Class based on the Boolean value of 'isDisabled' stored in that list, but the $currentObject cannot be linked by an Association. Like, in the list of Entity B there is a list of label like [Room1, Room2, Room3, Room4, Room5] and I want to make some lables incative (not selectable but still show in the dropdown) based on the boolean value. Is there a better way to do this?