Title: Signal Forms: Support optional one-way binding with [formField] · Issue #72058 · angular/angular · GitHub
Open Graph Title: Signal Forms: Support optional one-way binding with [formField] · Issue #72058 · angular/angular
X Title: Signal Forms: Support optional one-way binding with [formField] · Issue #72058 · angular/angular
Description: Which @angular/* package(s) are relevant/related to the feature request? forms Description Currently, [formField] always uses two-way binding, automatically updating the form model when the user changes a value. It would be useful to sup...
Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? forms Description Currently, [formField] always uses two-way binding, automatically updating the form model when the user ch...
X Description: Which @angular/* package(s) are relevant/related to the feature request? forms Description Currently, [formField] always uses two-way binding, automatically updating the form model when the user ch...
Opengraph URL: https://github.com/angular/angular/issues/72058
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Signal Forms: Support optional one-way binding with [formField]","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\nforms\n\n### Description\n\nCurrently, [formField] always uses two-way binding, automatically updating the form model when the user changes a value.\n\nIt would be useful to support optional one-way binding, similar to model() or ngModel, where developers can choose between automatic synchronization and manually handling changes.\n\nExample\n\nWith Angular Material's mat-select:\n```html\n\u003cmat-select\n [formField]=\"form.userId\"\n (selectionChange)=\"onUserChange($event.value)\"\n>\n ...\n\u003c/mat-select>\n```\n\nWhen a user selects an option, [formField] automatically updates userId, while selectionChange also triggers a handler that updates the same field along with related properties:\n\n```html\nonUserChange(user: User) {\n this.formModel.update(form => ({\n ...form,\n userId: user.id,\n userName: user.name,\n userRole: user.role,\n }));\n}\n```\n\nThis creates two separate update paths for the same value\n\n### Proposed solution\n\nAllow developers to choose between automatic two-way binding and one-way binding with explicit change handling, similar to `model()` or `ngModel`.\n\nIt would also be useful to expose a change event, allowing developers to listen for user-initiated value changes.\n\nFor example (hypothetical API):\n\n**Automatic two-way binding (default):**\n\n```html\n\u003cmat-select [formField]=\"form.userId\">\n ...\n\u003c/mat-select>\n```\n\n**One-way binding with manual updates:**\n\n```html\n\u003cmat-select\n [formField]=\"form.userId\"\n [formFieldAutoUpdate]=\"false\"\n (formFieldChange)=\"onUserChange($event)\"\n>\n ...\n\u003c/mat-select>\n```\n\n**Two-way binding with change notifications:**\n\n```html\n\u003cmat-select\n [formField]=\"form.userId\"\n (formFieldChange)=\"onUserChange($event)\"\n>\n ...\n\u003c/mat-select>\n```\n\nThis would provide more flexibility while retaining the benefits of `[formField]`, such as validation, disabled state, and touched/dirty tracking, without requiring developers to use component-specific events or implement custom form controls.\n\n\n### Alternatives considered\n\nThe current workaround is to avoid [formField] and use [value] with (selectionChange) to handle updates manually. However, this requires manually managing functionality that [formField] already provides, such as validation, disabled state, and touched/dirty tracking.\n\nAnother option is to keep [formField] and use (selectionChange) to update related fields, but this results in redundant updates to the same form value.","author":{"url":"https://github.com/OlegSuncrown","@type":"Person","name":"OlegSuncrown"},"datePublished":"2026-11-15T10:08:22Z","url":"https://github.com/angular/angular/issues/72058"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40f713f0-ded9-af58-9b1d-7a18917a501c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBC2:299992:100D3AE:153E469:6B01DB97 |
| html-safe-nonce | 1336dbc36dc666dce3e4b6a6baa5e4640b85fc6107157b51c7881d21ad254243 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkMyOjI5OTk5MjoxMDBEM0FFOjE1M0U0Njk6NkIwMURCOTciLCJ2aXNpdG9yX2lkIjoiNTM4NTk1NTI4ODA5NDQ2NDkxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1bf946c2f738008dd84cc6a379170fe0e49afa1cef845ae1ca34304a7505c13d |
| hovercard-subject-tag | issue:6402689577 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/72058/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2afd5a8becf3e402b25f323b7fa4b8cfa42bbce8731582f85deb977fc5a0b1d1/angular/angular/issues/72058 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2afd5a8becf3e402b25f323b7fa4b8cfa42bbce8731582f85deb977fc5a0b1d1/angular/angular/issues/72058 |
| og:image:alt | Which @angular/* package(s) are relevant/related to the feature request? forms Description Currently, [formField] always uses two-way binding, automatically updating the form model when the user ch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | OlegSuncrown |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width