diff --git a/adev/src/content/examples/animations/src/app/open-close.1.ts b/adev/src/content/examples/animations/src/app/open-close.1.ts index 32cad8301dd..d13a18e3412 100644 --- a/adev/src/content/examples/animations/src/app/open-close.1.ts +++ b/adev/src/content/examples/animations/src/app/open-close.1.ts @@ -57,7 +57,7 @@ export class OpenCloseKeyframeComponent { logging = input(false); onAnimationEvent(event: AnimationEvent) { - if (!this.logging) { + if (!this.logging()) { return; } } diff --git a/adev/src/content/examples/animations/src/app/open-close.3.ts b/adev/src/content/examples/animations/src/app/open-close.3.ts index c05c20f2b5f..f1554bf949a 100755 --- a/adev/src/content/examples/animations/src/app/open-close.3.ts +++ b/adev/src/content/examples/animations/src/app/open-close.3.ts @@ -33,7 +33,7 @@ export class OpenCloseBooleanComponent { logging = input(false); onAnimationEvent(event: AnimationEvent) { - if (!this.logging) { + if (!this.logging()) { return; } } diff --git a/adev/src/content/examples/animations/src/app/open-close.ts b/adev/src/content/examples/animations/src/app/open-close.ts index 886b8f17382..80c475be479 100755 --- a/adev/src/content/examples/animations/src/app/open-close.ts +++ b/adev/src/content/examples/animations/src/app/open-close.ts @@ -70,7 +70,7 @@ export class OpenClose { // #docregion events1, events onAnimationEvent(event: AnimationEvent) { // #enddocregion events1, events - if (!this.logging) { + if (!this.logging()) { return; } // #docregion events diff --git a/adev/src/content/examples/form-validation/src/app/shared/forbidden-name.directive.ts b/adev/src/content/examples/form-validation/src/app/shared/forbidden-name.directive.ts index 23083132fe0..de44d1b85f1 100644 --- a/adev/src/content/examples/form-validation/src/app/shared/forbidden-name.directive.ts +++ b/adev/src/content/examples/form-validation/src/app/shared/forbidden-name.directive.ts @@ -34,7 +34,7 @@ export class ForbiddenValidatorDirective implements Validator { readonly forbiddenName = input('', {alias: 'appForbiddenName'}); validate(control: AbstractControl): ValidationErrors | null { - return this.forbiddenName + return this.forbiddenName() ? forbiddenNameValidator(new RegExp(this.forbiddenName(), 'i'))(control) : null; } diff --git a/adev/src/content/tutorials/first-app/steps/12-forms/src/app/housing-location/housing-location.ts b/adev/src/content/tutorials/first-app/steps/12-forms/src/app/housing-location/housing-location.ts index 09605664854..21bb0dc6532 100644 --- a/adev/src/content/tutorials/first-app/steps/12-forms/src/app/housing-location/housing-location.ts +++ b/adev/src/content/tutorials/first-app/steps/12-forms/src/app/housing-location/housing-location.ts @@ -9,7 +9,7 @@ import {RouterLink} from '@angular/router';
Exterior photo of {{ housingLocation().name }} diff --git a/adev/src/content/tutorials/first-app/steps/14-http/src-final/app/housing-location/housing-location.ts b/adev/src/content/tutorials/first-app/steps/14-http/src-final/app/housing-location/housing-location.ts index 09605664854..21bb0dc6532 100644 --- a/adev/src/content/tutorials/first-app/steps/14-http/src-final/app/housing-location/housing-location.ts +++ b/adev/src/content/tutorials/first-app/steps/14-http/src-final/app/housing-location/housing-location.ts @@ -9,7 +9,7 @@ import {RouterLink} from '@angular/router';
Exterior photo of {{ housingLocation().name }}