fix(richtext-lexical): inline blocks did not store nested fields correctly (#10578)

Fixes https://github.com/payloadcms/payload/issues/10555

Form state with nested fields was not unflattened before saving field
data to the node
This commit is contained in:
Alessio Gravili
2025-01-14 14:17:25 -07:00
committed by GitHub
parent 05b03b2dcd
commit 61117ee5cb
29 changed files with 461 additions and 505 deletions

View File

@@ -39,7 +39,7 @@ let serverURL: string
describe('Locked Documents', () => {
beforeAll(async ({ browser }, testInfo) => {
testInfo.setTimeout(TEST_TIMEOUT_LONG)
;({ payload, serverURL } = await initPayloadE2ENoConfig({ dirname }))
;({ payload, serverURL } = await initPayloadE2ENoConfig<Config>({ dirname }))
globalUrl = new AdminUrlUtil(serverURL, 'menu')
postsUrl = new AdminUrlUtil(serverURL, 'posts')