InvalidFieldRelationship: Field Form has invalid relationship 'forms'. #9790
Unanswered
aimarsouris
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Payload 3.4.0, supabase postgre, supabase storages3 + clone Github/../../templates/website,
I get this error at pnpm dev:
node_modules/.pnpm/[email protected][email protected]_monaco-editor@[email protected]_react_re2uwt7p7ymmoimatcnocwcioe/node_modules/payload/dist/fields/config/sanitize.js (48:1) @ eval
⨯ InvalidFieldRelationship: Field Form has invalid relationship 'forms'.
at Array.forEach ()
digest: "4014407719"
The only const which references 'forms' as a relationship is in jmm/src/app/payload/blocks/Form/config.ts (provided in the example):
export const FormBlock: Block = {
slug: 'formBlock',
interfaceName: 'FormBlock',
fields: [
{
name: 'form',
type: 'relationship',
relationTo: 'forms',
required: true,
},
// etc...
Any idea? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions