Error when reordering array items with relationship fields #13262
maicolsantos
started this conversation in
General
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.
-
Hi,
I'm getting an error when using a field of type array that contains relationship fields inside.
After adding around 10 items and trying to reorder them, the admin UI throws the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'findIndex')
This seems to happen consistently when reordering items after a certain number have been added.
Tested with Payload CMS v3.
Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions