Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "TanStack/form" }
"@changesets/changelog-github",
{ "repo": "TanStack/form", "disableThanks": true }
],
"commit": false,
"access": "public",
Expand Down
14 changes: 12 additions & 2 deletions docs/framework/angular/guides/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ To use an array, you can use `field.api.state.value` on an array value:
standalone: true,
imports: [TanStackField],
template: `
<ng-container [tanstackField]="form" name="people" mode="array" #people="field">
<ng-container
[tanstackField]="form"
name="people"
mode="array"
#people="field"
>
<div>
@for (_ of people.api.state.value; track $index) {
<!-- ... -->
Expand Down Expand Up @@ -101,7 +106,12 @@ export class AppComponent {
template: `
<form (submit)="handleSubmit($event)">
<div>
<ng-container [tanstackField]="form" name="people" mode="array" #people="field">
<ng-container
[tanstackField]="form"
name="people"
mode="array"
#people="field"
>
<div>
@for (_ of people.api.state.value; track $index) {
<ng-container
Expand Down
5 changes: 1 addition & 4 deletions docs/framework/angular/guides/form-composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ Finally, in the parent component, create the form with `injectForm` and pass it
```angular-ts
// app.component.ts
import { Component } from '@angular/core'
import {
TanStackWithForm,
injectForm,
} from '@tanstack/angular-form'
import { TanStackWithForm, injectForm } from '@tanstack/angular-form'
import { ChildForm } from './child-form.component'
import { peopleFormOpts } from './shared-form'
Expand Down
24 changes: 12 additions & 12 deletions examples/angular/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
"test": "ng test"
},
"dependencies": {
"@angular/animations": "^20.3.1",
"@angular/common": "^20.3.1",
"@angular/compiler": "^20.3.1",
"@angular/core": "^20.3.1",
"@angular/forms": "^20.3.1",
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@angular/animations": "^21.2.14",
"@angular/common": "^21.2.14",
"@angular/compiler": "^21.2.14",
"@angular/core": "^21.2.14",
"@angular/forms": "^21.2.14",
"@angular/platform-browser": "^21.2.14",
"@angular/platform-browser-dynamic": "^21.2.14",
"@angular/router": "^21.2.14",
"@tanstack/angular-form": "^1.32.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.3.2",
"@angular/cli": "^20.3.2",
"@angular/compiler-cli": "^20.3.1",
"typescript": "5.8.2"
"@angular-devkit/build-angular": "^21.2.12",
"@angular/cli": "^21.2.12",
"@angular/compiler-cli": "^21.2.14",
"typescript": "5.9.3"
}
}
2 changes: 1 addition & 1 deletion examples/angular/array/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sourceMap": true,
"declaration": false,
"experimentalDecorators": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
Expand Down
24 changes: 12 additions & 12 deletions examples/angular/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
"test": "ng test"
},
"dependencies": {
"@angular/animations": "^20.3.1",
"@angular/common": "^20.3.1",
"@angular/compiler": "^20.3.1",
"@angular/core": "^20.3.1",
"@angular/forms": "^20.3.1",
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@angular/animations": "^21.2.14",
"@angular/common": "^21.2.14",
"@angular/compiler": "^21.2.14",
"@angular/core": "^21.2.14",
"@angular/forms": "^21.2.14",
"@angular/platform-browser": "^21.2.14",
"@angular/platform-browser-dynamic": "^21.2.14",
"@angular/router": "^21.2.14",
"@tanstack/angular-form": "^1.32.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.3.2",
"@angular/cli": "^20.3.2",
"@angular/compiler-cli": "^20.3.1",
"typescript": "5.8.2"
"@angular-devkit/build-angular": "^21.2.12",
"@angular/cli": "^21.2.12",
"@angular/compiler-cli": "^21.2.14",
"typescript": "5.9.3"
}
}
2 changes: 1 addition & 1 deletion examples/angular/large-form/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sourceMap": true,
"declaration": false,
"experimentalDecorators": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
Expand Down
24 changes: 12 additions & 12 deletions examples/angular/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@
"test": "ng test"
},
"dependencies": {
"@angular/animations": "^20.3.1",
"@angular/common": "^20.3.1",
"@angular/compiler": "^20.3.1",
"@angular/core": "^20.3.1",
"@angular/forms": "^20.3.1",
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@angular/animations": "^21.2.14",
"@angular/common": "^21.2.14",
"@angular/compiler": "^21.2.14",
"@angular/core": "^21.2.14",
"@angular/forms": "^21.2.14",
"@angular/platform-browser": "^21.2.14",
"@angular/platform-browser-dynamic": "^21.2.14",
"@angular/router": "^21.2.14",
"@tanstack/angular-form": "^1.32.0",
"rxjs": "^7.8.2",
"tslib": "^2.8.1",
"zone.js": "0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.3.2",
"@angular/cli": "^20.3.2",
"@angular/compiler-cli": "^20.3.1",
"typescript": "5.8.2"
"@angular-devkit/build-angular": "^21.2.12",
"@angular/cli": "^21.2.12",
"@angular/compiler-cli": "^21.2.14",
"typescript": "5.9.3"
}
}
2 changes: 1 addition & 1 deletion examples/angular/simple/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sourceMap": true,
"declaration": false,
"experimentalDecorators": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
Expand Down
24 changes: 12 additions & 12 deletions examples/angular/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"test": "ng test"
},
"dependencies": {
"@angular/animations": "^20.3.1",
"@angular/common": "^20.3.1",
"@angular/compiler": "^20.3.1",
"@angular/core": "^20.3.1",
"@angular/forms": "^20.3.1",
"@angular/platform-browser": "^20.3.1",
"@angular/platform-browser-dynamic": "^20.3.1",
"@angular/router": "^20.3.1",
"@angular/animations": "^21.2.14",
"@angular/common": "^21.2.14",
"@angular/compiler": "^21.2.14",
"@angular/core": "^21.2.14",
"@angular/forms": "^21.2.14",
"@angular/platform-browser": "^21.2.14",
"@angular/platform-browser-dynamic": "^21.2.14",
"@angular/router": "^21.2.14",
"@tanstack/angular-form": "^1.32.0",
"effect": "^3.17.14",
"rxjs": "^7.8.2",
Expand All @@ -27,9 +27,9 @@
"zone.js": "0.15.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.3.2",
"@angular/cli": "^20.3.2",
"@angular/compiler-cli": "^20.3.1",
"typescript": "5.8.2"
"@angular-devkit/build-angular": "^21.2.12",
"@angular/cli": "^21.2.12",
"@angular/compiler-cli": "^21.2.14",
"typescript": "5.9.3"
}
}
2 changes: 1 addition & 1 deletion examples/angular/standard-schema/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sourceMap": true,
"declaration": false,
"experimentalDecorators": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"@types/react": "~19.1.0",
"eslint": "9.36.0",
"eslint-config-expo": "~10.0.0",
"typescript": "5.8.2"
"typescript": "5.9.3"
}
}
4 changes: 2 additions & 2 deletions examples/react/next-server-actions-zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"@tanstack/react-form-nextjs": "^1.32.0",
"@tanstack/react-store": "^0.9.1",
"next": "16.0.5",
"next": "16.2.6",
"react": "19.1.0",
"react-dom": "19.1.0",
"zod": "^3.25.76"
Expand All @@ -19,6 +19,6 @@
"@types/node": "^24.1.0",
"@types/react": "~19.1.0",
"@types/react-dom": "^19.0.3",
"typescript": "5.8.2"
"typescript": "5.9.3"
}
}
4 changes: 2 additions & 2 deletions examples/react/next-server-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"dependencies": {
"@tanstack/react-form-nextjs": "^1.32.0",
"@tanstack/react-store": "^0.9.1",
"next": "16.0.5",
"next": "16.2.6",
"react": "19.1.0",
"react-dom": "19.1.0"
},
"devDependencies": {
"@types/node": "^24.1.0",
"@types/react": "~19.1.0",
"@types/react-dom": "^19.0.3",
"typescript": "5.8.2"
"typescript": "5.9.3"
}
}
10 changes: 5 additions & 5 deletions examples/react/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"_test:types": "tsc"
},
"dependencies": {
"@remix-run/node": "^2.17.1",
"@remix-run/react": "^2.17.1",
"@remix-run/serve": "^2.17.1",
"@remix-run/node": "^2.17.4",
"@remix-run/react": "^2.17.4",
"@remix-run/serve": "^2.17.4",
"@tanstack/react-form-remix": "^1.32.0",
"@tanstack/react-store": "^0.9.1",
"isbot": "^5.1.30",
"react": "19.1.0",
"react-dom": "19.1.0"
},
"devDependencies": {
"@remix-run/dev": "^2.17.1",
"@remix-run/dev": "^2.17.4",
"@types/react": "~19.1.0",
"@types/react-dom": "^19.0.3",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-tsconfig-paths": "^5.1.4"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@types/react": "~19.1.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-tsconfig-paths": "^5.1.4"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react/ui-libraries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"@vitejs/plugin-react-swc": "^3.11.0",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2"
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-plugin-solid": "^2.11.8"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-plugin-solid": "^2.11.8"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-plugin-solid": "^2.11.8"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"solid-js": "^1.9.9"
},
"devDependencies": {
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-plugin-solid": "^2.11.8"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/solid/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"zod": "^3.25.76"
},
"devDependencies": {
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2",
"vite-plugin-solid": "^2.11.8"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tsconfig/svelte": "^5.0.5",
"svelte": "^5.39.4",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tsconfig/svelte": "^5.0.5",
"svelte": "^5.39.4",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tsconfig/svelte": "^5.0.5",
"svelte": "^5.39.4",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@sveltejs/vite-plugin-svelte": "^5.1.1",
"@tsconfig/svelte": "^5.0.5",
"svelte": "^5.39.4",
"typescript": "5.8.2",
"typescript": "5.9.3",
"vite": "^7.2.2"
}
}
Loading
Loading