From 889afe9aa217f9b679358da7e682d8a2c0967f23 Mon Sep 17 00:00:00 2001 From: SkyZeroZx <73321943+SkyZeroZx@users.noreply.github.com> Date: Thu, 20 Nov 2025 09:50:03 -0500 Subject: [PATCH] docs: updates code block language tags in signal forms --- adev/src/content/guide/forms/signals/models.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/adev/src/content/guide/forms/signals/models.md b/adev/src/content/guide/forms/signals/models.md index f0f2fc4e677..92a871918ae 100644 --- a/adev/src/content/guide/forms/signals/models.md +++ b/adev/src/content/guide/forms/signals/models.md @@ -14,7 +14,7 @@ Form models solve this by centralizing form data in a single writable signal. Wh A form model is a writable signal created with Angular's `signal()` function. The signal holds an object that represents your form's data structure. -```ts +```angular-ts import { Component, signal } from '@angular/core' import { form, Field } from '@angular/forms/signals' @@ -150,7 +150,7 @@ Each field in the field tree is a function. Calling a field returns a `FieldStat Access field state when working with individual fields in templates or reactive computations: -```ts +```angular-ts @Component({ template: `

Current email: {{ loginForm.email().value() }}

@@ -292,7 +292,7 @@ This synchronization happens automatically. You don't write subscriptions or eve ### Example: Both directions -```ts +```angular-ts @Component({ template: ` @@ -386,7 +386,7 @@ userForm.settings.theme // FieldTree In templates, you bind nested fields the same way as top-level fields: -```ts +```angular-ts @Component({ template: `