-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Bug: Uploading image in hasMany field populates unrelated upload field #10177
Comments
Yeah, I've reproduced this. I think this is happening because the |
🚀 This is included in version v3.12.0 |
This issue has been automatically locked. |
Describe the Bug
When using PayloadCMS with a collection or global that includes:
If you use the “Create New” option in the first upload field (hasMany), the uploaded image unexpectedly populates the second upload field and leaves the first one empty.
Link to the code that reproduces this issue
https://github.com/adesombergh/payload
Reproduction Steps
• An upload field with hasMany enabled.
• A second upload field immediately following it.
• Select “Create New” and upload an image.
Which area(s) are affected? (Select all that apply)
core, ui
Environment Info
The text was updated successfully, but these errors were encountered: