Unique constraint in a table field

How can I impose a unique constraint in a field in a table in Bubble? I want every value to be unique in a field. Do I have to do this in the workflow? If so, how. I don’t see any way this can be done while creating the data type.

hi @mjaitly123,

you can choose to show unique elements in every column in a table if your data allows. For example, this is a table that gets all product colors-many duplicates exist of course- then only displays unique elements. So you only see each color once no matter how may pants, shirts or skirts come in black:



1 Like