@angular/forms 21.1.1 → 21.2.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/_structure-chunk.mjs +3 -3
- package/fesm2022/_structure-chunk.mjs.map +1 -1
- package/fesm2022/forms.mjs +128 -128
- package/fesm2022/forms.mjs.map +1 -1
- package/fesm2022/signals-compat.mjs +1 -1
- package/fesm2022/signals.mjs +7 -7
- package/fesm2022/signals.mjs.map +1 -1
- package/package.json +4 -4
- package/types/_structure-chunk.d.ts +6 -5
- package/types/forms.d.ts +1 -1
- package/types/signals-compat.d.ts +1 -1
- package/types/signals.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.
|
|
2
|
+
* @license Angular v21.2.0-next.0
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1178,8 +1178,8 @@ class FieldNode {
|
|
|
1178
1178
|
this.metadataState = new FieldMetadataState(this);
|
|
1179
1179
|
this.submitState = new FieldSubmitState(this);
|
|
1180
1180
|
}
|
|
1181
|
-
focusBoundControl() {
|
|
1182
|
-
this.getBindingForFocus()?.focus();
|
|
1181
|
+
focusBoundControl(options) {
|
|
1182
|
+
this.getBindingForFocus()?.focus(options);
|
|
1183
1183
|
}
|
|
1184
1184
|
getBindingForFocus() {
|
|
1185
1185
|
const own = this.formFieldBindings().filter(b => b.focus !== undefined).reduce(firstInDom, undefined);
|