Interface
FieldWrapperContract
@ng-forge/dynamic-forms
Contract that wrapper components must satisfy.
Each wrapper exposes a #fieldComponent ViewContainerRef where the inner
content (next wrapper, or the field) is rendered imperatively. Config
properties (minus type) are set on the component via setInput; a
wrapper opts into a key by declaring a matching , and unknown
keys are silently dropped. Wrappers may additionally declare a
input()fieldInputs input for the wrapped field's mapper outputs (see
WrapperFieldInputs for when that's undefined).
Signature
interface FieldWrapperContractProperties
| Name | Type | Description |
|---|---|---|
fieldComponent | Signal<ViewContainerRef> | ViewContainerRef slot where inner content is rendered |
Examples
```typescriptpackages/dynamic-forms/src/lib/models/wrapper-type.ts:115