You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: form-records follow-ups: clearing optional fields on edit, and a per-user list page #738
The form-records add-on (#529) creates owned store records from a declared form, and shows a confirmation page and a constrained edit page. Two gaps were left out of the first version on purpose:
Clearing an optional field on edit is refused. Saving an edit is a partial update, and a partial update cannot remove a field. So once an optional field (for example a number) has a value, the edit page cannot clear it.
No list page. A user can reach their records only through links from the confirmation page, or through the store's JSON API, which lists only the caller's own records on owned collections. There is no HTML "my records" page.
Proposed behavior and alternatives
Let the store's records export (StoreRecords.update) accept an explicit "unset" for optional fields, e.g. a null patch value for an optional field, with a store-side schema rule. Then form-records maps an empty optional input on the edit page to it. The store JSON API should get the same semantics so both stay aligned.
An optional list: {title, columns} per record set that renders the caller's own records (owned collection only, paginated with the store's cursors) with links to confirmation/edit, under <mount>/. Or document using the ui CRUD screen on the same owned collection instead.
Owner decision (2026-09-25): accepted #529 as built; these are follow-ups.
Activity
feat(forms,store,form-records): name off-page field errors; clear opt…