full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

🐛 Fix reset behavior in EditItem mutation on success

Open samymsa opened this issue 8 months ago • 3 comments

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.

samymsa avatar Mar 29 '25 21:03 samymsa

Hello, I reproduced the bug. bug_reproduction.webm

hamadaxx avatar Apr 06 '25 21:04 hamadaxx

Bug reproduction

https://github.com/user-attachments/assets/de66f4fa-781e-43fb-811f-5c3d765da97d

azizbenzarti avatar May 03 '25 01:05 azizbenzarti

Hello, I reproduced the bug.

https://github.com/user-attachments/assets/f48f55f0-9954-4970-9280-05463a7e85be

dvli20 avatar May 04 '25 21:05 dvli20

As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR.

github-actions[bot] avatar Oct 04 '25 17:10 github-actions[bot]