diff --git a/packages/payload/src/fields/hooks/beforeValidate/promise.ts b/packages/payload/src/fields/hooks/beforeValidate/promise.ts index 2cda4e9b38d..e7c3da2aff8 100644 --- a/packages/payload/src/fields/hooks/beforeValidate/promise.ts +++ b/packages/payload/src/fields/hooks/beforeValidate/promise.ts @@ -286,6 +286,8 @@ export const promise = async ({ // Execute hooks if (field.hooks?.beforeValidate) { + // Hotfix to ensure that beforeValidate hooks always get the full data + await new Promise((resolve) => setTimeout(resolve, 1)) for (const hook of field.hooks.beforeValidate) { const hookedValue = await hook({ blockData,