Unique field option cannot be enabled if localization is disabled #22475
Labels
flag: EE
Issues correlates to internal EE ticket
issue: bug
Issue reporting a bug
severity: high
If it breaks the basic use of the product
source: core:content-type-builder
Source is core/content-type-builder package
status: confirmed
Confirmed by a Strapi Team member or multiple community members
version: 5
Bug report
Required System information
Describe the bug
When adding a field if you do not want to enable localization (sync value across locales) but want unique enabled the content-type builder forces you to use localization with unique even though if you manually change the schema and test with data Strapi functions just fine with unique non-localized entries.
Steps to reproduce the behavior
Expected behavior
To confirm with product team, but we should be able to have unique without localization as unique is applied at the document level not the entry level
Screenshots
Code snippets
As a workaround you can manually disable localization after creating the field:
Additional context
Possible related issue/discussion about what we intend: #20909
Related to Internal TID9193
The text was updated successfully, but these errors were encountered: