Skip to content

Commit 7919514

Browse files
committed
chore(changeset): plugin-grid drops the record-form stamp from bulk params
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmTKRu1t68jcJGgRYi3
1 parent 0abdf3a commit 7919514

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.changeset/34197-lookup-record-reference.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
'@object-ui/fields': patch
33
'@object-ui/plugin-form': patch
4+
'@object-ui/plugin-grid': patch
45
'@objectstack/spec': patch
56
---
67

@@ -15,7 +16,7 @@ A `lookupFilters` entry may compare a candidate column with a value of the recor
1516
- **An empty value.** While the referenced value is empty (null, unset, an empty string, or an unset hop lookup), the entry is left out, the rule an unset `dependsOn` parent follows. A reference that was never resolved is never sent.
1617
- **Re-query.** Changing a referenced field re-queries the open picker once, with the new value. Changing any other field of the record does not.
1718
- **orEmpty.** An entry with `orEmpty: true` is sent as an `$or` of its comparison and a null match on the same column. Several such entries each keep their own alternative.
18-
- **Record forms opt in.** `ObjectForm` and authored form sections stamp such a lookup as drawn for a single record being edited, naming the object each hop's lookup points at (`withRecordBeingEdited`, exported from `@object-ui/fields`). The picker resolves `{ $record }` only on that stamp. Any other host, such as a bulk action dialog that hands the widget its sibling parameters, leaves every `{ $record }` entry out.
19+
- **Record forms opt in.** `ObjectForm` and authored form sections stamp such a lookup as drawn for a single record being edited, naming the object each hop's lookup points at (`withRecordBeingEdited`, exported from `@object-ui/fields`). The picker resolves `{ $record }` only on that stamp. Any other host, such as a bulk action dialog that hands the widget its sibling parameters, leaves every `{ $record }` entry out. A bulk action parameter cannot claim the stamp by writing it: the bulk dialog never carries `recordBeingEdited` from a parameter onto its widget.
1920
- **Spec.** The `value`, `orEmpty` and `lookupFilters` describes on `FieldSchema` lose their `[PLANNED — not enforced]` markers and say what the picker does. The no-record example now names a bulk action over selected rows in place of a filter panel, which reads no `lookupFilters`.
2021

2122
Literal entries and `dependsOn` query exactly as before.

0 commit comments

Comments
 (0)