I am using ACF Pro to manage an option page to associate some values to every role.
I followed this post to create a select listing all the user roles.
Do you think there is a way to have the repeater excluding already selected roles so that there are no duplicates?
What I have in mind is that if I select the role “Editor” in the first row of the repeater, in the following rows I cannot select Editor anymore.
No, I don’t think this is something that could be done. I think you might be better off having each setting or value and then having a checkbox field to choose which roles to apply the value to.