diff --git a/docs/framework/angular/guides/arrays.md b/docs/framework/angular/guides/arrays.md index f37b64d6f..70c867fbb 100644 --- a/docs/framework/angular/guides/arrays.md +++ b/docs/framework/angular/guides/arrays.md @@ -9,7 +9,7 @@ TanStack Form supports arrays as values in a form, including sub-object values i To use an array, you can use `field.api.state.value` on an array value: -```typescript +```angular-ts @Component({ selector: 'app-root', standalone: true, @@ -38,7 +38,7 @@ export class AppComponent { This will generate the mapped JSX every time you run `pushValue` on `field`: -```html +```angular-html @@ -46,7 +46,7 @@ This will generate the mapped JSX every time you run `pushValue` on `field`: Finally, you can use a subfield like so: -```html +```angular-html While it's unfortunate that you need to use a function to get the field name, it's a requirement for how our strict TypeScript types work. > > See, if we did the following: -> ```html +> ```angular-html > > ``` > @@ -91,7 +91,7 @@ export class AppComponent { ## Full Example -```typescript +```angular-ts @Component({ selector: 'app-root', standalone: true, diff --git a/docs/framework/angular/guides/basic-concepts.md b/docs/framework/angular/guides/basic-concepts.md index d7d3a146b..0a5073a75 100644 --- a/docs/framework/angular/guides/basic-concepts.md +++ b/docs/framework/angular/guides/basic-concepts.md @@ -58,7 +58,7 @@ The Field API is an object accessed in the `tanstackField.api` property when cre Example: -```html +```angular-html