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

🐛 Fix reset behavior in EditItem mutation on success #1533

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samymsa
Copy link

@samymsa samymsa commented Mar 29, 2025

This PR fixes a bug where the ItemUpdateForm (in EditItem) would reset to its default values upon successful mutation. As a result, reopening the update form would display outdated predefined values. The fix ensures the form state is correctly updated with the latest item data after a successful update.

@alejsdev alejsdev added the bug Something isn't working label Mar 31, 2025
@hamadaxx
Copy link

hamadaxx commented Apr 6, 2025

Hello, I reproduced the bug.
bug_reproduction.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants