Component
ComponentAddonComponent
@ng-forge/dynamic-forms
Renderer for the universal component addon kind.
Loads the user-supplied component lazily (addon.) and renders
it via component()NgComponentOutlet with addon.inputs forwarded as input bindings.
The wrapper-style fieldInputs bag is not propagated — user components
receive only what addon.inputs declares. Authors that need field state
should switch to the template kind or build a wrapper.
@codeOnly The component loader is a function; this kind is dropped in
lenient validation when the config originated from JSON.
Signature
class ComponentAddonComponentProperties
| Name | Type | Description |
|---|---|---|
addon | InputSignal<ComponentAddon> | - |
fieldInputs | InputSignal<WrapperFieldInputs | undefined> | Accepted for contract uniformity — NgComponentOutlet setInput is strict; every kind must declare it. |
inputs | Signal<Record<string, unknown>> | - |
resolvedComponent | Signal<Type<unknown> | undefined> | - |
packages/dynamic-forms/src/lib/addons/component-addon.component.ts:21