Mark field as unique

I would like to suggest the following feature:
The field-type “Text” should get the options “unique”, to ensure that the given value is unique within a Collection.

Example: I have a Collection with products. The product-id should be unique. Therefore the options JSON of “productId” should look like this:

  unique: true

Upon saving a new created Collection entry, the saving would fail and throw an error message, saying that the value set to “productId” is not unique, if another product within the same collection has the same value set to “productId”.

What do you think?

Best Regards

1 Like

I used this addon