Remove an item from the collection clicking on a trash icon button
isPristine still true
Expected behavior
The pristine should be break on a collection removal
Additional context
In the current state of the library, there is no possible solution to do this, because form pristine state is defined by fields pristine state so in this case, pristine stay at true because "updated" (removed) field does not exist anymore.
So fix this bug requires to add somethings to manage this case, maybe a state on the collection or something else
Describe the bug
When I arrived on a pristine form and I remove a collection item, the pristine still be at true
To Reproduce
In Formiz examples collection page : https://formiz-examples.vercel.app/collection
Expected behavior
The pristine should be break on a collection removal
Additional context
In the current state of the library, there is no possible solution to do this, because form pristine state is defined by fields pristine state so in this case, pristine stay at true because "updated" (removed) field does not exist anymore. So fix this bug requires to add somethings to manage this case, maybe a state on the collection or something else