ReadonlycomponentRegistry key that maps to an Angular component.
Built-in keys: "text", "select", "checkbox", "toggle",
"radio", "autocomplete", "date", "time", "datetime",
"color", "slider", "richtext", "file", "signature".
Optional ReadonlyconfigArbitrary key–value config forwarded as inputs to the
resolved component. Keys must match the component's input()
signal names.
Optional ReadonlydefaultDefault value used when the form is first created.
Optional ReadonlydescriptionOptional helper text shown below the field.
Optional ReadonlyenabledWhen set, the field is disabled (non-interactive) unless the condition is met.
ReadonlyidUnique ID — used as the key in the form values object.
Optional ReadonlyoptionsOptions for select, radio, and autocomplete fields.
Passed to the component's options or equivalent input.
ReadonlytitleHuman-readable label shown above the field.
Optional ReadonlyvalidationValidation rules evaluated by the form engine.
Optional ReadonlyvisibleWhen set, the field is only visible if the condition is met. Hidden fields are excluded from the output JSON.
Definition of a single form field. Fully JSON-serializable.
The
componentkey is resolved at runtime through the FormFieldRegistry to an actual Angular component that exposes a two-wayvalue(or mapped model) signal.Example