Const
MAT_INPUT_TYPE_OVERRIDE
@ng-forge/dynamic-forms-material
Per-field writable signal that overrides the input's type attribute.
Provided at the mat-input field component level. The button addon's
'toggle-password-visibility' preset writes to it; the field component
reads it to compute its effective type.
Optional from a button's perspective — when the button is hosted inside a field that doesn't provide this token (e.g., textarea or a future non-input field), the toggle preset is a no-op.
Signature
const MAT_INPUT_TYPE_OVERRIDE: InjectionToken<WritableSignal<string | undefined>>Examples
provided per-field:
```typescriptpackages/dynamic-forms-material/src/lib/tokens/input-type-override.token.ts:22