Skip to content

Commit 5a6e8fa

Browse files
committed
docs(spec): a picklist binding blocks only option patches in the TSDoc comment
The display keys of a picklist-bound field stay patchable; only its options are out of reach, as the description's own example (inlineHelpText) shows. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAmsHMwmra6cg78RoEp
1 parent 7c661de commit 5a6e8fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/spec/src/data/object.zod.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5130,8 +5130,8 @@ function fieldPatchesDescription(): string {
51305130
* fields: { sales_stage: Field.select([...]) },
51315131
* // A base field's display properties only (ADR-0146 D10), applied by the
51325132
* // registry merge (`mergeObjectDefinitions`) — see `fieldPatches`.
5133-
* // Where `industry` is picklist-bound, as on HotCRM's `crm_account`, only its
5134-
* // label is patchable; an option patch goes on a field declaring its own options.
5133+
* // Where `industry` is picklist-bound, as on HotCRM's `crm_account`, its options are not
5134+
* // patchable (its display keys are); an option patch goes on a field declaring its own options.
51355135
* fieldPatches: { industry: { label: 'Sector' }, type: { options: { customer: { label: 'Client' } } } },
51365136
* }]
51375137
* ```

0 commit comments

Comments
 (0)