You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the selection state is linked to the current resource. This is necessary so that an existing selection can be erased in a side effect, e.g. when deleting a record.
Some list contexts can opt out of that shared global state (see for instance <ReferenceManyField storeKey>. We probably need to add support for the same storeKey to the <ArrayField> as well. A PR adding this support is welcome!
In the meantime, try passing a different resource for each ArrayField:
What you were expecting:
first Datagrid is isolated from the second
What happened instead:
changing the first Datagrid's state changes the second Datagrid's state.
Steps to reproduce:
Have two Datagrid, both should have a row with the same id.
Related code:
Environment
The text was updated successfully, but these errors were encountered: