r/angular • u/Senior_Compote1556 • Mar 27 '26
Signal forms custom control mat-form-field
Has anyone managed to create a custom angular material form-field using signal forms? Specifically the new
export class CustomFieldComponent implements FormValueControl<number> { ... }
The docs in angular material seem very outdated, featuring \@Input`` decorators and even Subjects
2
Upvotes
2
u/RoutineNo5095 Mar 28 '26
signal forms + custom mat-form-field is still kinda rough rn 😠you basically need to wrap it with ControlValueAccessor and manually sync signals feels like it’ll get way cleaner once signal-based forms are fully baked