Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"relationship" field relation is not saved #19

Closed
HarleySalas opened this issue Mar 9, 2024 · 1 comment
Closed

"relationship" field relation is not saved #19

HarleySalas opened this issue Mar 9, 2024 · 1 comment

Comments

@HarleySalas
Copy link

Using Postgres, pnpm, latest payload-3.0-alpha-demo, all alpha versions are at 41.

Create a collection field with type of relationship, then create a document in that collection, selecting a document to relate to.

Saves successfully, but upon refreshing the page, the relationships are not persisted.

@HarleySalas
Copy link
Author

I realized that it was another field's error that prevented relationships from being saved.

The only thing of interest I can note is that it that when changing between hasMany: true and `false, it did not save multiple relations until after my dev server was restarted. I had more issues with things like this when I was using yarn, but overall, things seem more stable after switching to pnpm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant