i tried to create an relatedEntities component that excludes more than one property, but unfortunately when acting like described in the docs:
The exclude attribute enables excluding some of the related entities from the drop-down list. The value of the property is a list of reference attributes of the current entity, separated by commas.
No property is excluded at all.
Here’s an example:
Order --> Customer
Order --> City
Order --> State
In the orders table i have the following relatedEntities component:
<relatedEntities exclude="city,state" for="ordersTable"/>
The result is, that i can select all three attributes: “customer”, “city”, “state”.
I found that in the WebRelatedEntities a regex match is executed, but i’m not sure what to write down in the exclude attribute so that it will exclude city as well as state.
Attached you’ll find the example project.