Skip to content

Form refresh issue after edit #9327

Open
Open
@qcalmel

Description

@qcalmel

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions