You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Fixes#6887
Collections with autosave enabled would open and immediately close when
they were edited inside a relationship field. This PR threads onSave
through to autosave and checks the current drawer depth to determine if
it should call the onSave function or if it should redirect the user to
the doc page when autosave is triggered.
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
The text was updated successfully, but these errors were encountered: