You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
signal-forms: FormValueControl is unable to mark field as dirty #63623
Which @angular/* package(s) are the source of the bug?
forms
Is this a regression?
No
Description
I have been playing around with the new FormValueControl interface to implement custom controls in signal forms.
I noticed that FormValueControl does not automatically mark the field as dirty if the value changes and lacks the ability to manually mark as dirty because dirty is only exposed as an input signal to FormValueControl.
When implementing a custom input via `FormValueControl` the field will not automatically be marked as dirty and cannot be marked as dirty via the provided interface.
Please provide the environment you discovered this bug in (run ng version)
Activity
ThiloAschebrock commentedon Sep 6, 2025
It looks to me like a similar issue might also be present for the integration of
ControlwithControlValueAccessor, cf. https://github.com/angular/angular/blob/main/packages/forms/signals/src/controls/control.ts#L323.fix(forms): mark field as dirty when value is changed by a bound control
leonsenft commentedon Oct 16, 2025
Thanks for the report, this should be fixed in #64483.
fix(forms): mark field as dirty when value is changed by a bound cont…
angular-automatic-lock-bot commentedon Nov 17, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.