Title: regression: signal forms: input of type date isn't required anymore when cleared · Issue #67300 · angular/angular · GitHub
Open Graph Title: regression: signal forms: input of type date isn't required anymore when cleared · Issue #67300 · angular/angular
X Title: regression: signal forms: input of type date isn't required anymore when cleared · Issue #67300 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? forms Is this a regression? Yes Description Since version 21.2.0, an input of type date in a signal form, when the user erases its day, month or year, keeps its value instead of beco...
Open Graph Description: Which @angular/* package(s) are the source of the bug? forms Is this a regression? Yes Description Since version 21.2.0, an input of type date in a signal form, when the user erases its day, month ...
X Description: Which @angular/* package(s) are the source of the bug? forms Is this a regression? Yes Description Since version 21.2.0, an input of type date in a signal form, when the user erases its day, month ...
Opengraph URL: https://github.com/angular/angular/issues/67300
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"regression: signal forms: input of type date isn't required anymore when cleared","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nforms\n\n### Is this a regression?\n\nYes\n\n### Description\n\nSince version 21.2.0, an input of type date in a signal form, when the user erases its day, month or year, keeps its value instead of becoming empty, and becomes invalid with a parse error.\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://stackblitz.com/edit/stackblitz-starters-a71rmrvl?file=src%2Fmain.ts\n\n### Please provide the exception or error you saw\n\nWhen populating the birth date field and then erasing one or even all of its components (day, month or year), I expect the value to become empty again (or better: null, like when a number input is erased), and the `required` error to reappear. Instead, the value stays as it was before, the field becomes invalid, with a parse error.\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI : 21.1.5\nAngular : 21.2.0\nNode.js : 20.19.1\nPackage Manager : pnpm 8.15.6\nOperating System : linux x64\n\n┌───────────────────────────┬───────────────────┬───────────────────┐\n│ Package │ Installed Version │ Requested Version │\n├───────────────────────────┼───────────────────┼───────────────────┤\n│ @angular/build │ 21.1.5 │ ^21.1.5 │\n│ @angular/cli │ 21.1.5 │ ^21.1.5 │\n│ @angular/common │ 21.2.0 │ 21.2.0 │\n│ @angular/compiler │ 21.2.0 │ 21.2.0 │\n│ @angular/compiler-cli │ 21.2.0 │ 21.2.0 │\n│ @angular/core │ 21.2.0 │ 21.2.0 │\n│ @angular/forms │ 21.2.0 │ 21.2.0 │\n│ @angular/platform-browser │ 21.2.0 │ 21.2.0 │\n│ @angular/router │ 21.2.0 │ 21.2.0 │\n│ rxjs │ 7.8.2 │ ^7.8.1 │\n│ typescript │ 5.9.3 │ ^5.9.3 │\n└───────────────────────────┴───────────────────┴───────────────────┘\n```\n\n### Anything else?\n\nSorry for the edits on this issue. I intially thought there was no error at all, but that was because I tried to display the errors using the JSON pipe, which threw an error because parse errors are apparently not serializable to JSON. That could be a separate issue: it would be nice for errors to be serializable to JSON, at least to ease debugging.","author":{"url":"https://github.com/jnizet","@type":"Person","name":"jnizet"},"datePublished":"2026-02-25T20:40:25Z","url":"https://github.com/angular/angular/issues/67300"}
| 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:679036b7-2fa3-41aa-e186-b6b43639b0b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEE0:16AB79:44EC167:5774010:6B02370A |
| html-safe-nonce | dc7a06e3c4aa59728b02a212b4bddbf37b91f30e78926668fbdd4ec3f64aabd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUUwOjE2QUI3OTo0NEVDMTY3OjU3NzQwMTA6NkIwMjM3MEEiLCJ2aXNpdG9yX2lkIjoiMTMzMDk0MDU3NzkwMjExNDU3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 821894df86c260fbc0e1de56edb3b1c5e37bb25c3e6532e4c8013830a67617ec |
| hovercard-subject-tag | issue:3991688301 |
| 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/67300/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d81a4868d4b603a6bf6316d60364d2ae40eb95cb603d59a1d947cce316124d81/angular/angular/issues/67300 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d81a4868d4b603a6bf6316d60364d2ae40eb95cb603d59a1d947cce316124d81/angular/angular/issues/67300 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? forms Is this a regression? Yes Description Since version 21.2.0, an input of type date in a signal form, when the user erases its day, month ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jnizet |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width