Open
Description
openedon Oct 3, 2023
Hello, i've an issue when I edit a record :
If I delete an existing field value, save form and just after, modify another field and save form again,
my previous field to which I deleted the value, returns to its previous value.
When form is refreshed after save, If I check the React Query dev tool, the data are however good
It's occurs only when field value was previously set to null
Little precision : I use Airtable as database, and records fields that are null are not retrieved from the record data
Steps to reproduce:
-
Select a record from post list
-
if "Name" input was empty, add value, save form, and refresh stackblitz render window
-
delete "Name" value
-
save form
-
change value of checkbox
-
save form
Environment
- React-admin version: 4.14.4
- Last version that did not exhibit the issue : 3.11.3 (yeah big jump 😅)
- React version: 17.0.0
- Browser: Chrome, Safari, Firefox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels