The data gets displayed properly but if I remove an item from the array and want to add a new item, the old data gets displayed.
This does not happen if I do not use a nested property for the source parameter.
Another problem is the save button which will not display the correct state (enabled, disabled) on nested properties.
What you were expecting:
I want to use the ArrayInput with a nested property structure like this:
What happened instead:
The data gets displayed properly but if I remove an item from the array and want to add a new item, the old data gets displayed. This does not happen if I do not use a nested property for the source parameter. Another problem is the save button which will not display the correct state (enabled, disabled) on nested properties.
Steps to reproduce:
Related code:
See this example with a nested property structure: https://stackblitz.com/edit/github-rmhseu?file=src/data.tsx
Other information:
Environment