mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| content | ||
| context | ||
| styles | ||
| favicon.ico | ||
| index.html | ||
| llms.txt | ||
| local-styles.scss | ||
| main.server.ts | ||
| main.ts | ||
| robots.txt | ||