angular/adev/src
Andrew Scott c84642ac16 feat(router): add unmatchedInputBehavior option to componentInputBinding
Introduce a new configuration option `unmatchedInputBehavior` to the `componentInputBinding` feature. This option allows users to configure the behavior when a component input is not matched by any key in the router data.

The available values are:
- 'alwaysUndefined': (Default) Always binds undefined to unmatched inputs.
- 'undefinedIfStale': Binds undefined only if the input was previously available in the router data for the active route in the outlet.

This feature addresses concerns raised in #63835 and #52946 regarding the retention of default values for inputs that were never targeted by the router, while still ensuring that stale data is cleared when a parameter is removed.
2026-05-01 16:04:52 -07:00
..
app docs(docs-infra): open update guide external links in new tabs 2026-04-29 13:59:42 -07:00
assets docs(docs-infra): improve Playground card on installation page 2026-04-24 10:34:38 -07:00
content feat(router): add unmatchedInputBehavior option to componentInputBinding 2026-05-01 16:04:52 -07:00
context docs: update change detection strategy references 2026-03-27 15:43:43 +01:00
styles docs(docs-infra): Fix Drag handle SVG is not visible 2025-12-01 18:49:05 +01:00
favicon.ico docs: add angular.dev (#52536) 2023-11-06 11:15:02 -08:00
index.html ci: reformat files 2025-12-16 09:24:36 -08:00
llms.txt docs: add Route Loading Strategies section and update navigation links 2026-02-23 09:11:10 -08:00
local-styles.scss fix(docs-infra): prevent example resets from affecting CDK 2025-11-17 08:05:12 -08:00
main.server.ts feat(core): introduce BootstrapContext for improved server bootstrapping (#63562) 2025-09-09 10:57:09 -07:00
main.ts docs(docs-infra): remove compiler import (#55229) 2024-04-08 11:31:56 -07:00
robots.txt docs: change robots.txt to allow crawling (#56023) 2024-05-23 11:34:25 +02:00