Description
🚀 Feature Proposal
When the user has a subform open they should not be allowed to navigate to the next page before committing or cancelling the subform.
Motivation
We want to make sure the user is confident that the information they want to store in the form is stored, or discarded if the user does not want it there after starting to fill it out.
Example
If the user has started adding a new entry to a array, but not pressed "Cancel" or "Add", they should not be allowed to navigate away and lose the data they have entered.
Pitch
It would enhance the existing validation mechanisms of Eufemia Forms.
Notes
I do not see this as critical functionality, but it might be a good addition, depending on how much effort it takes to implement.
It might make sense for it to be a strict
-mode feature.
The example mentions a Iterate.Array
use case, but I see this as something that would make sense for Isolation
as well.
Any subform that provides a "commit" or "cancel" action to the user.