Function

withMaterialAddons

@ng-forge/dynamic-forms-material

Register Material-shipped addon kinds (mat-icon, mat-button) standalone.

Most users don't need thiswithMaterialFields() auto-includes these kinds. Call withMaterialAddons() directly only when you want Material addon kinds without the Material field types (e.g., a custom field set that wants to render mat-icon prefixes), or when you're stitching addons through a different DI scope.

Signature

function withMaterialAddons(): MaterialAddonsFeature

Returns

MaterialAddonsFeature

Examples

// Custom field types + Material addon kinds.
provideDynamicForm(
  ...myCustomFields(),
  withMaterialAddons(),
);