Add single page nested Form support #2032
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank to #2031 we can test cross request changes reliably.
This PR should fix #1375 and #1860 (TODO review before merge) and related atk4/data#881 and atk4/data#1004.
The Form/Crud components for child records work on virtualized database which produces serialized state managed by the main Form and thus no changes are done on the real database until the main Form is submit.
TODO cover (or delete) https://app.codecov.io/gh/atk4/ui/commit/04aba5baff5a8f00747aaa851d34ed49ce3e3995/blob/src/Form/Control/Multiline.php#L430
might need fomantic/Fomantic-UI#2792, fomantic/Fomantic-UI#2944