angular/packages/core/src/render3
Leon Senft a4ba820d36 refactor(forms): bind field properties to all directives on native controls
Since the `Field` directive manages binding `FieldState` properties to
the underlying form control automatically, the type checker prohibits
explicit bindings to the same properties to avoid conflicts. This proved
problematic in cases where developers wanted to bind these properties to
the inputs of other directives on form controls. Now the framework will
bind the field state properties to all matching directive inputs on
native controls.

Fix #65617

(cherry picked from commit c149f47ef6)
2026-01-06 13:12:21 -05:00
..
after_render docs: update forwardRef usage with signals and add HostListener note 2025-12-10 12:23:33 -08:00
debug docs: update forwardRef usage with signals and add HostListener note 2025-12-10 12:23:33 -08:00
deps_tracker refactor(core): remove USE_RUNTIME_DEPS_TRACKER_FOR_JIT flag. (#61265) 2025-05-13 15:22:18 -07:00
features fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:53 +01:00
i18n ci: reformat files 2025-12-16 14:44:25 -08:00
instructions refactor(forms): bind field properties to all directives on native controls 2026-01-06 13:12:21 -05:00
interfaces fix(forms): add signals for dirty, hidden, and pending states in custom controls 2025-12-08 10:30:48 -08:00
jit fix(compiler): prevent XSS via SVG animation attributeName and MathML/SVG URLs 2025-12-01 10:27:00 +01:00
queries refactor(core): convert scripts within packages/core/src to relative imports (#60227) 2025-03-25 10:58:00 -07:00
reactivity docs: add section about reactive contexts 2025-12-16 16:35:28 -08:00
styling docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
util refactor(core): use proper type for stringifyTypeFromDebugify parameter 2025-12-08 10:23:21 -08:00
view fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:53 +01:00
apply_value_input_field.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
assert.ts Revert "refactor(common): Removes unused imports to clean up dependencies" 2025-11-06 09:05:05 -08:00
bindings.ts refactor(core): handle NO_CHANGE in bindingUpdated (#61557) 2025-05-21 15:13:47 +00:00
chained_injector.ts feat(core): remove InjectFlags from public API (#60318) 2025-03-11 11:33:09 -07:00
CODE_GEN_API.md build: format md files 2025-11-06 10:07:13 -08:00
collect_native_nodes.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
component.ts docs: Adds links to relevant guides for APIs in core package 2025-11-17 16:47:40 +00:00
component_ref.ts refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 23:22:53 +00:00
context_discovery.ts refactor(core): prevent duplicating componentOffset checks (#59611) 2025-01-23 14:23:29 -08:00
def_getters.ts fix(core): throw better errors for potential circular references 2025-12-12 08:06:30 -08:00
definition.ts fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:53 +01:00
definition_factory.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
di.ts refactor(core): include DI path into cyclic dependency error message (#50902) 2025-07-10 10:35:12 -07:00
di_setup.ts fix(core): unable to inject viewProviders when host directive with providers is present 2025-12-03 15:09:53 +01:00
dom_node_manipulation.ts fix(core): prevent animations renderer from impacting animate.leave (#63921) 2025-09-19 21:26:18 +00:00
dynamic_bindings.ts docs: update tsDoc code examples to use TypeScript syntax highlighting 2026-01-05 12:31:47 -05:00
errors.ts refactor: clean up explicit standalone flags from tests (#63963) 2025-09-22 14:27:34 +00:00
errors_di.ts refactor(core): include DI path into cyclic dependency error message (#50902) 2025-07-10 10:35:12 -07:00
fields.ts refactor: add explicit types for exports relying on inferred call return type (#61312) 2025-05-13 22:45:18 +00:00
global_utils_api.ts feat(core): expose performance data in Chrome DevTools (#60789) 2025-04-14 11:12:55 -04:00
hmr.ts refactor(core): rename ExperimentalIsolatedShadowDom to IsolatedShadowDom 2025-11-11 08:46:10 -08:00
hooks.ts refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 23:22:53 +00:00
index.ts perf(core): tree shake unused dynamic [field] binding instructions (#65599) 2025-12-03 15:10:50 +01:00
list_reconciliation.ts fix(core): skip leave animations on view swaps 2025-11-05 09:04:21 -08:00
local_compilation.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
metadata.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
namespaces.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
ng_module_ref.ts Revert "refactor(common): Removes unused imports to clean up dependencies" 2025-11-06 09:05:05 -08:00
node_assert.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
node_manipulation.ts refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 23:22:53 +00:00
node_manipulation_i18n.ts refactor(core): move DOM manipulation logic to its own file (#59462) 2025-01-16 10:38:44 -08:00
node_selector_matcher.ts refactor(core): simplify attributes extraction logic for ComponentRef (#59678) 2025-01-27 13:15:21 +01:00
PERF_NOTES.md build: format md files 2025-11-06 10:07:13 -08:00
pipe.ts refactor(core): move the data store operation out of instructions (#61425) 2025-05-19 08:24:45 +00:00
profiler.ts refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder 2025-11-19 23:22:53 +00:00
pure_function.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
reactive_lview_consumer.ts refactor(core): use quad linked lists for signals (#62284) 2025-07-28 17:01:42 +02:00
scope.ts perf(core): avoid intermediate arrays in definition (#61445) 2025-05-19 09:20:07 +00:00
standalone_service.ts refactor(core): conditionally include debug names based on ngDevMode 2025-12-16 09:37:42 -08:00
state.ts refactor(core): dispatch enter and leave animations at the right times (#63450) 2025-09-10 22:24:00 +00:00
STORING_METADATA_IN_D.TS.md ci: reformat files 2025-12-16 14:44:25 -08:00
tnode_manipulation.ts refactor(forms): support custom control directives 2025-11-24 13:48:20 -05:00
tokens.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
TREE_SHAKING.md build: format md files 2025-11-06 10:07:13 -08:00
view_context.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
VIEW_DATA.md build: format md files 2025-11-06 10:07:13 -08:00
view_engine_compatibility_prebound.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
view_manipulation.ts refactor(core): convert scripts within packages/core/src to relative imports (#60227) 2025-03-25 10:58:00 -07:00
view_ref.ts Revert "refactor(common): Removes unused imports to clean up dependencies" 2025-11-06 09:05:05 -08:00