Skip to content

fix(ref:1601): Relax FormValueControl implementation#1602

Open
ThiloAschebrock wants to merge 1 commit intoJsDaddy:developfrom
ThiloAschebrock:bugfix/relax-form-value-control
Open

fix(ref:1601): Relax FormValueControl implementation#1602
ThiloAschebrock wants to merge 1 commit intoJsDaddy:developfrom
ThiloAschebrock:bugfix/relax-form-value-control

Conversation

@ThiloAschebrock
Copy link

Relaxes the Angular signal form interface implementation to avoid conflicts with other directives or the host component, e.g., for required and readonly.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #1601

What is the new behavior?

Only used parts of the FormValueControl interface are implemented.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

N/A

Relaxes the Angular signal form interface implementation to avoid conflicts with other directives or the host component, e.g., for required and readonly.
@ThiloAschebrock
Copy link
Author

@andriikamaldinov1 @NepipenkoIgor could I please ask for a review of this PR?

public errors = input<readonly WithOptionalField<ValidationError>[]>([]);
public disabled = input<boolean>(false);
public disabled = input(false, { transform: booleanAttribute });
public touched = model<boolean>(false);
Copy link
Author

@ThiloAschebrock ThiloAschebrock Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Angular will change the FormValueControl interface and break up touched, see angular/angular#67100 in Angular 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant