mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Custom controls can be modeled using a set of host directives to alias and expose value and valueChange (or checked/checkedChange) bindings, as well as native attributes like disabled. This commit updates initializeCustomControlStatus to correctly identify host components using mapped inputs/outputs, even when those inputs are exposed via transitive host directives. It also updates customControlHasInput so that the custom control presence check correctly evaluates the exposed inputs across all applied host directives, caching the result to optimize performance on hot code paths. |
||
|---|---|---|
| .. | ||
| signals | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| index.ts | ||
| package.json | ||
| PACKAGE.md | ||
| public_api.ts | ||