AppSheet Error - Orphan Records Created in Nested Forms When Using Laptop View
Hi everyone,
I have found what appears to be an unexpected behavior when working with nested forms in AppSheet’s Laptop View, and I would like to know whether anyone else has experienced the same issue or if this is a known limitation/bug.
Data Structure
-
Parent Table
-
Child Table
- Second-Level Child Table
-
Steps to Reproduce
-
Create a new record in the Parent Table.
-
Fill in the required fields.
-
Before saving the parent record, go to the Child Table inline view and click Add.
-
Complete the child record.
-
Once the Second-Level Child Table becomes available, click Add.
-
Create a record in the Second-Level Child Table and save it.
-
Save the child record.
-
Return to the parent form.
-
Without saving the parent form, open the child record that was just created.
-
The form shows the Accept and Delete options.
-
Click Delete to remove the child record.
-
AppSheet returns to the parent form.
-
Save the parent record.
Expected Behavior
Since the child record was deleted before the parent form was saved, I would expect all related records created in the Second-Level Child Table to be discarded as well.
No records should be created if their parent record no longer exists.
Actual Behavior
The child record is deleted correctly. However, after saving the parent form, the records created in the Second-Level Child Table are still written to the data source.
This results in orphan records that no longer have a valid relationship with a parent child record.
Additional Observations
-
The issue only occurs in Laptop View.
-
I tested the exact same scenario in Mobile View, and the issue did not occur.
-
The orphan records are not immediately visible from the application’s interface, but they can be verified directly in the underlying data source after synchronization.
Has anyone encountered similar behavior with nested forms or inline child records?
I would appreciate any feedback regarding whether this is expected behavior, a configuration issue, or a potential AppSheet bug.