Required Fields Per Locale #13445
jessrynkar
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Users have reported that when a field is marked as
required
, they expect validation to run across all locales — meaning that saving or publishing in one locale should fail if the required field is missing in another locale.Currently this is not enforced. Validation only runs against the currently active locale. While this behavior avoids blocking saves, it creates confusion and can lead to incomplete data being marked as “published.”
If we were to enforce required fields across all locales right now, the workflow would break down:
Because of this, we’ve decided not to enforce required fields across locales until multi-locale editing is available. With multi-locale editing, users will be able to fill in missing values for multiple locales in a single view, making strict validation feasible and user-friendly.
Proposal
Since this changes the expected behavior of
required
, we’d like to introduce a new configuration option that gives developers control over which locales a field should be required in.Possible approaches:
Details
ETA
TBD
Background
Original discussion here.
Beta Was this translation helpful? Give feedback.
All reactions