Function
withMaterialAddons
@ng-forge/dynamic-forms-material
Register Material-shipped addon kinds (mat-icon, mat-button) standalone.
Most users don't need this — auto-includes
these kinds. Call withMaterialFields() directly only when you want
Material addon kinds without the Material field types (e.g., a custom
field set that wants to render withMaterialAddons()mat-icon prefixes), or when you're
stitching addons through a different DI scope.
Signature
function withMaterialAddons(): MaterialAddonsFeatureReturns
MaterialAddonsFeature
Examples
// Custom field types + Material addon kinds.
provideDynamicForm(
...myCustomFields(),
withMaterialAddons(),
);packages/dynamic-forms-material/src/lib/providers/material-providers.ts:150