Title: A new FormControl instance can disable an input, but it can't enable it · Issue #35565 · angular/angular · GitHub
Open Graph Title: A new FormControl instance can disable an input, but it can't enable it · Issue #35565 · angular/angular
X Title: A new FormControl instance can disable an input, but it can't enable it · Issue #35565 · angular/angular
Description: Angular 9.0.0 As form controls can disable inputs, it seems like a bug that they can't enable them. Or is it a feature request? It works if you only work with a single FormControl instance. But if you give an disabled input a new FormCon...
Open Graph Description: Angular 9.0.0 As form controls can disable inputs, it seems like a bug that they can't enable them. Or is it a feature request? It works if you only work with a single FormControl instance. But if ...
X Description: Angular 9.0.0 As form controls can disable inputs, it seems like a bug that they can't enable them. Or is it a feature request? It works if you only work with a single FormControl instance. But...
Opengraph URL: https://github.com/angular/angular/issues/35565
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A new FormControl instance can disable an input, but it can't enable it","articleBody":"Angular 9.0.0\r\n\r\nAs form controls can disable inputs, it seems like a bug that they can't enable them. Or is it a feature request? It works if you only work with a single FormControl instance. But if you give an disabled input a new FormControl instance, you are stuck.\r\n\r\nReproduction https://ng-run.com/edit/eXsAwaGca33ShZmNXh7v\r\n\r\nClick on `create enabled FormControl` and the input stays enabled. Click at least once on `create disabled FormControl`, and the enabled control won't kick the input out of the disabled state. And it doesn't inherit the disabled state from the input either.\r\n\r\nI guess the disabled state it taken care of in https://github.com/angular/angular/blob/master/packages/forms/src/directives/reactive_directives/form_control_directive.ts#L188-L190, just the reverse is missing.","author":{"url":"https://github.com/sod","@type":"Person","name":"sod"},"datePublished":"2020-02-19T21:28:38Z","url":"https://github.com/angular/angular/issues/35565"}
| 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:3a811394-0d26-159f-1df4-af96b1034c14 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C142:1D86C4:1B71652:22D847F:6B015282 |
| html-safe-nonce | 2b1a7b73bd10111dc7ae640c7c0f70ca7b6327741dba835e0a0e6baef1a2a711 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTQyOjFEODZDNDoxQjcxNjUyOjIyRDg0N0Y6NkIwMTUyODIiLCJ2aXNpdG9yX2lkIjoiNjUwMTkzNDEyOTcyMDkzOTEzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 53516453c1c631a005333bee933f736854e31a02a19723db0abbf9bd79079990 |
| hovercard-subject-tag | issue:567858689 |
| 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/35565/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca72c5f6a6031544116e26038ecb2fc65169338d8cc2a1f7d69a1f08e2615aa7/angular/angular/issues/35565 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca72c5f6a6031544116e26038ecb2fc65169338d8cc2a1f7d69a1f08e2615aa7/angular/angular/issues/35565 |
| og:image:alt | Angular 9.0.0 As form controls can disable inputs, it seems like a bug that they can't enable them. Or is it a feature request? It works if you only work with a single FormControl instance. But if ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sod |
| 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