Closed GeorgeHulpoi closed 4 weeks ago
Hey @GeorgeHulpoi your repro is missing the tests collection.
Also I have this PR to go out in our next beta release: https://github.com/payloadcms/payload/pull/7245
Does this fix the issue you're referring to?
I'll close the issue for now but let me know if beta.68 doesnt fix this for you
@paulpopus I'm sorry for the reproduction issue, now the git is updated. It still persists on beta.70.
Fixing this in the next release
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Link to reproduction
https://github.com/GeorgeHulpoi/payload-locale-form-state
Payload Version
3.0.0-beta.70
Node Version
v20.9.0
Next.js Version
15.0.0-canary.58
Describe the Bug
In the case of using a localized field, being able to update the field only is not set doesn't update the form state when you change the locale. Only while refreshing, the form state will be correct.
Reproduction Steps
tests
collection (access: true).readOnly
withaccess: false
(it should be true, because title is not set in the new locale).access: true
.Adapters and Plugins
db-mongodb