-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relationship required-but-non-localized field validation error when updating global through API #2766
Comments
Hey @qbeauperin! This has been reported (just linking for clarity, not like you would have known) here. You can install |
Wow. Long day, closed the wrong issue. 😵💫 |
Oh sweet, I'll pull 1.8.4 right now and test it out. Thanks Jarrod! 😄 |
Issue still occurs in 1.8.4 unfortunately, same repro steps. 😢 Edit: not sure if 1.8.5 was aimed at this, but still occurs unfortunately. |
@qbeauperin wow good catch here. THANK YOU for your detailed report, too. I was able to clone down your repository and easily recreate the bug. I've got the fix in PR #2776 which will go out in the next release. |
Link to reproduction
https://github.com/qbeauperin/payload/blob/bug/global-localization-required-field/test/localization/config.ts
To Reproduce
The following field is invalid: nonLocalizedRequiredRelationship
Describe the Bug
On the other hand, the exact same config has been duplicated in a collection and work as expected:
Payload Version
1.8.5
The text was updated successfully, but these errors were encountered: