[IMPLEMENTED] Unique selection on Relation Field


#1

Hi

We use the relation field quite a lot in our project and like to select unique items and avoid duplicate selections.
see image: able to multiple items of Entertainment category. Thanks


#2

You have to make a feature request out of it.


#3

Thanks, I’ve updated the post to Feature Request section.


#4

I have added a client and server side validation for it. It is the default behavior now, but can be disabled in the field settings.


#5

Thank you so much for really fast implementation Sebastian. I can see there’s “Allow duplicate entries” checkbox in the field settings and client side validation on the field.
duplicate%20check
Currently, the item is still added to the list with duplication message displayed on it. For better improvement (or next feature request), it’ll be good if the selected item no longer displayed in the “Select contents” popup. That would avoid the duplicates before making the selection and easier for users if you have a lot of items in the list which span across multiple pages.

For now this is good enough for current request and is working perfectly. Thanks again for really quick implementation!


[IMPLEMENTED] Hide already selected items from content selector
#6

Yes, I knew that this would be requested as well, but I made the decision to release something as quick as possible and then improve it later.


#7