Title: fix(forms): ensure to emit `statusChanges` on subsequent value update… by sonukapoor · Pull Request #38354 · angular/angular · GitHub
Open Graph Title: fix(forms): ensure to emit `statusChanges` on subsequent value update… by sonukapoor · Pull Request #38354 · angular/angular
X Title: fix(forms): ensure to emit `statusChanges` on subsequent value update… by sonukapoor · Pull Request #38354 · angular/angular
Description: … / validations This commit ensures that the updateValueAndValidity method takes the asyncValidator into consideration to emit on the statusChanges observables. This is necessary so that any subsequent changes are emitted properly to any subscribers. BREAKING CHANGE: Previously if FormControl, FormGroup and FormArray class instances had async validators defined at initialization time, the status change event was not emitted once async validator completed. After this change, the status event is emitted into the statusChanges observable. If your code relies on the old behaviour, you can filter/ignore this additional status change event. Closes #20424 Closes #14542 PR Checklist Please check if your PR fulfills the following requirements: The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit Tests for the changes have been added (for bug fixes / features) Docs have been added / updated (for bug fixes / features) 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.io application / infrastructure changes Other... Please describe: What is the current behavior? Issue Number: N/A What is the new behavior? Does this PR introduce a breaking change? Yes No Other information
Open Graph Description: … / validations This commit ensures that the updateValueAndValidity method takes the asyncValidator into consideration to emit on the statusChanges observables. This is necessary so that any subseq...
X Description: … / validations This commit ensures that the updateValueAndValidity method takes the asyncValidator into consideration to emit on the statusChanges observables. This is necessary so that any subseq...
Opengraph URL: https://github.com/angular/angular/pull/38354
X: @github
Domain: github.com
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:06b2cf1a-786b-fd44-8624-a616a05dc6bc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E8EE:A99C2:217221E:2A8F3B9:6B016054 |
| html-safe-nonce | 732f2b8b77411adf5e9400c5661bdfabf4c1023b0fe3a6c636afa19f1454b63c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEVFOkE5OUMyOjIxNzIyMUU6MkE4RjNCOTo2QjAxNjA1NCIsInZpc2l0b3JfaWQiOiI4MzU4OTUwMDE5OTYwNzU4MzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 88dd945fefd4d3816613551744a64e7dc5b34f8d4c0e5a1b82472fb23afbe5b8 |
| hovercard-subject-tag | pull_request:463682345 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/angular/angular/pull/38354/files |
| twitter:image | https://avatars.githubusercontent.com/u/59734?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/59734?s=400&v=4 |
| og:image:alt | … / validations This commit ensures that the updateValueAndValidity method takes the asyncValidator into consideration to emit on the statusChanges observables. This is necessary so that any subseq... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
Links:
Viewport: width=device-width