Issue: Input Data Persists After Row Deletion and Recreation
I encountered a behavior where input data persists even after a table row is deleted and then recreated. Here’s the scenario:
- There’s an input field displaying hours pulled from the database.
- When a row is deleted (e.g., the user decides they don’t need it), and the same row is recreated (if the user changes their mind), the input still shows the previous value.
- I double-checked the backend to confirm the data was indeed deleted.
The recreated Data exist properly after a page refresh with the input now at 0. I also tried reset group.
Attempts to resolve:
- Used
reset relevant inputs
but it didn’t clear the input field.
This behavior might be intended, but I noticed it while bug testing last night and wanted to flag it for clarification or suggestions on how to handle it. I can use something on the browser level but I rather have items stored on the backend.