paameterize form using zod to get a type checked fields

This commit is contained in:
Viktor Barzin 2025-06-17 20:42:41 +00:00
parent a092b4e9c8
commit 1caaa247d8
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
4 changed files with 303 additions and 29 deletions

View file

@ -10,6 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@hookform/resolvers": "^5.1.1",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-scroll-area": "^1.2.9",
@ -32,10 +33,12 @@
"oidc-client-ts": "^3.2.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-hook-form": "^7.58.1",
"react-oidc-context": "^3.3.0",
"rivets": "^0.9.6",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.10"
"tailwindcss": "^4.1.10",
"zod": "^3.25.67"
},
"devDependencies": {
"@eslint/js": "^9.25.0",