The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
If a collection has relationship field, it shows Select input with + button attached in the edit view. When we are to add a new relationship item by clicking + button, the expected behavior would be showing popup to create a new document.
But when the related collection is configured with autosave enabled, the popup quickly disappears and the page is navigated to the new document page of the related collection.
To Reproduce
Define a category collection with autosave enabled:
Link to reproduction
No response
Describe the Bug
If a collection has relationship field, it shows Select input with
+
button attached in the edit view. When we are to add a new relationship item by clicking+
button, the expected behavior would be showing popup to create a new document. But when the related collection is configured with autosave enabled, the popup quickly disappears and the page is navigated to the new document page of the related collection.To Reproduce
Define a
category
collection with autosave enabled:And define
category
field inpages
collectionIn Pages edit view, click
+
button inCategory
field.Payload Version
2.19.3
Adapters and Plugins
No response