Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix: incorrect value inside beforeValidate field hooks (#11433)
### What? `value` within the beforeValidate field hook was not correctly falling back to the document value when no value was passed inside the request for the field. ### Why? The fallback logic was running after the beforeValidate field hooks are called. ### How? Run the fallback logic before running the beforeValidate field hooks. Fixes https://github.com/payloadcms/payload/issues/10923
J
Jarrod Flesch committed
b3e7a9d19420cf75ff1ac64a456dd29fa66f3e71
Parent: c4bc0ae
Committed by GitHub <noreply@github.com>
on 2/27/2025, 9:00:27 PM