Skip to content

feat(forms): add signal forms support for custom elements#69452

Open
kyubisation wants to merge 1 commit into
angular:mainfrom
kyubisation:feat-signal-forms-custom-elements
Open

feat(forms): add signal forms support for custom elements#69452
kyubisation wants to merge 1 commit into
angular:mainfrom
kyubisation:feat-signal-forms-custom-elements

Conversation

@kyubisation

Copy link
Copy Markdown
Contributor

Closes #69232

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
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Currently when using Form Signals with custom elements that implement form association, Angular does not respect the corresponding capabilities, which result in values being read incorrectly or form attributes not being applied, even though they might be applicable.

Issue Number: #69232

What is the new behavior?

Angular now checks whether a given element is a form associated custom element and depending on use case, verifies the capabilities of the custom element (e.g. support for min/max, etc.).
Depending on the custom elementy type property, Angular now also checks whether the value should be read from value, valueAsNumber or valueAsDate.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove Bot requested a review from JeanMeche June 19, 2026 16:46
@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: forms labels Jun 19, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 19, 2026
@JeanMeche JeanMeche requested review from alxhub and kirjs June 19, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: forms detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Signal Forms support for custom elements

1 participant