Mark Barton
Mark Barton
Hi @jakehopking are you using a standalone Payload project or a Payload-Nextjs project? The error seems to relate to this line in richTextRelationshipPromise; ``` if ((element.type === 'relationship' || element.type...
@AlessioGr this looks like it's using slate, not lexical
defaultElements contains relationship elements. I would start by removing all of those and then adding them back in one at a time to see which is causing the issue
Yes of course, but by making these changes and adding them back in one by one, you should be able to narrow down what element is causing the issue. From...
Did you also check for duplicate payload installs in your node modules? That's been happening more frequently recently
Also bumping. Really useful feature!
Come across this issue too it seems. The scripts have loaded, I am currently in dev mode. Taking a look at the app execution it says the onOpen() function has...
https://www.npmjs.com/package/inflight Looks like inflight is deprecated. According to this SO post, it is caused by something in eslint-typescript because there is a version mismatch; https://stackoverflow.com/questions/78527247/have-used-npm-create-vitelatest-but-after-finishing-the-compilations-am-getting
@denolfe I can create a full reproduction, but it appears to be happening in the latest version of Payload v3 when using the payload.create function with overrideAccess.
I found the issue for my case. I had a default value set for a Select field that was using an array rather than a single value. ** BROKEN VERSION...