@praxisui/dynamic-form 9.0.4-rc.3 → 9.0.4-rc.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -132,6 +132,13 @@ the runtime fails initialization instead of rendering a form from the wrong busi
132
132
  non-layout host/persisted concerns such as `actions`, `api`, `messages`, rules, hooks and rich
133
133
  blocks. Host-provided non-layout config has precedence over persisted config.
134
134
 
135
+ For nested commands, `layoutPolicy.groupedCommand.contextFields` identifies request fields whose
136
+ values are supplied by the surrounding surface (for example, the employee id inherited by a
137
+ related-resource drawer). These fields remain schema-backed controls in the runtime form and are
138
+ included in the submit payload, but are omitted from the interactive layout. The host must hydrate
139
+ them through `initialValue` on create or through the entity read on edit; this policy must not hide
140
+ values that the user is expected to choose.
141
+
135
142
  When `mode="view"` and the host does not provide `presentationModeGlobal`, a schema policy with
136
143
  `intent: "detail"` or `preset: "compactPresentation"` also enables presentation rendering. Hosts
137
144
  that need traditional disabled controls for the same schema can pass `[presentationModeGlobal]="false"`.
@@ -251,6 +258,11 @@ Common inputs:
251
258
  - `domainRules`
252
259
  - `editorialContext`
253
260
 
261
+ In `edit` and `view`, `resourceId` identifies the remote entity to hydrate. In
262
+ `create`, it is contextual only (for example, the employee targeted by an
263
+ item-scoped command) and never starts an entity read; provide command defaults
264
+ through `initialValue`.
265
+
254
266
  Common outputs:
255
267
 
256
268
  - `formSubmit`, `formCancel`, `formReset`