Radio type field bug when creating new documents from within the relationship field ("Add new" button in the admin UI). #5507
Labels
status: needs-triage
Possible bug which hasn't been reproduced yet
status: verified
If an issue has been reproduced
Link to reproduction
https://github.com/xbrny/payload-bug-report-project
Describe the Bug
When creating a new document from within the relationship field using "Add new" button in the admin UI, any update to radio field type will update the existing document behind the modal.
The modal is also closed when the relationship field is being display conditionally based on radio button type (Radio button 2)
Note that the relationship field is pointing to the same collection (Samples collection), also I'm not using nestedDocs plugin.
To Reproduce
Screen recording for the issue (different project from the "link to reproduction"):
https://github.com/payloadcms/payload/assets/19786133/08f1b7c2-423f-412b-b5e4-f31868483c1b
Payload Version
2.4.0
Adapters and Plugins
db-mongodb
The text was updated successfully, but these errors were encountered: