keystatic
keystatic copied to clipboard
Array members uniqueness
I don't know is this is a bug or a feature, but given the example from the docs, keystatic doesn't prevent creating duplicated values.
tags: fields.array(
fields.text({ label: 'Tag' }),
// Labelling options
{
label: 'Tag',
itemLabel: props => props.value
}
)
Could be an option like { unique: true }