Skip to content
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

First edit does not fire autosave #10111

Open
PP-Tom opened this issue Dec 20, 2024 · 0 comments
Open

First edit does not fire autosave #10111

PP-Tom opened this issue Dec 20, 2024 · 0 comments
Labels
status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@PP-Tom
Copy link

PP-Tom commented Dec 20, 2024

Describe the Bug

When editing a document, the first edit you make does not fire an autosave, this is especially problematic for checkboxes and select fields.

Link to the code that reproduces this issue

https://github.com/PP-Tom/payload-first-modify-bug

Reproduction Steps

  1. Create a new 'Bookings' document.
  2. Change status from 'New Request' to 'Confirmed'
  3. Go back to collection list.
  4. Go back to the document you created
  5. It's still on 'New Request'

Check for autosave, it doesn't happen until you make a second change.

Which area(s) are affected? (Select all that apply)

area: ui

Environment Info

Payload: 3.10.0
Node: 22
Next: 15.1.0
@PP-Tom PP-Tom added status: needs-triage Possible bug which hasn't been reproduced yet validate-reproduction labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant