mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: remove ChangeDetectionStrategy.OnPush from Signal Forms tutorial
(cherry picked from commit b6dbdcfe34)
This commit is contained in:
committed by
Alex Rickabaugh
parent
4dfb0c4425
commit
7979ece76b
+1
-2
@@ -1,4 +1,4 @@
|
||||
import {ChangeDetectionStrategy, Component, signal} from '@angular/core';
|
||||
import {Component, signal} from '@angular/core';
|
||||
// TODO: Import FormField directive from @angular/forms/signals
|
||||
import {form} from '@angular/forms/signals';
|
||||
|
||||
@@ -13,7 +13,6 @@ interface LoginData {
|
||||
templateUrl: './app.html',
|
||||
styleUrl: './app.css',
|
||||
// TODO: Add FormField to imports array
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class App {
|
||||
loginModel = signal<LoginData>({
|
||||
|
||||
Reference in New Issue
Block a user