Skip to content

[Request]: form-records follow-ups: clearing optional fields on edit, and a per-user list page #738

Closed

Description

@jimhoyd

Problem or use case

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:

  1. 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.
  2. 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

  1. 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.
  2. 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

  1. added
    enhancement
    extension
    on Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions