Is there a way to receive a distinct list of properties of a smart multi-select field?
Example:
I have a form myFrm with a field winners which is of type smart multi-select referencing form othrFrm holding the winners of a running challenge with fields distance and name. (selected field is distance with "reference to records" option set)
I have records (distance,name) like (100m,John Doe),(200m, John Doe), (400m John Cash), and many more.
For winners in myFrm I select 100m, 200m and 400m.
I receive the list of the names by
winners.transform(name).asList
which gives me
John Doe,John Doe,John Cash
What I need would be
John Doe,John Cash
Any suggestions?