We have an array field relatedArticals, this has further 2 nested fields relatedArticle (reference field) and isActive (boolean). Now is it possible to have only unique references based on the relatedArticle (reference field).
As seen in the below screenshot there are 2 items in the array and both have the same relatedArticle reference. Is it possible to restrict the user from adding the same reference?
in Schemas, you should select the schema that you want to refer to. By default, reference items are not allowed to be duplicated so it can solve your problem.
Thanks for the update.
We are already aware of this, but in this case along with the reference field (relatedArticle) we have to maintain other fields as well (like isActive etc…) so can’t use this option.