Fix: Resolve form validation and type errors

This commit is contained in:
gpt-engineer-app[bot]
2025-10-09 19:46:08 +00:00
parent 8c5cf40ccb
commit 37daceff75
4 changed files with 146 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ import { useState, useEffect } from 'react';
import { useForm } from 'react-hook-form';
import { zodResolver } from '@hookform/resolvers/zod';
import * as z from 'zod';
import { entitySchemas } from '@/lib/entityValidationSchemas';
import { validateSubmissionHandler } from '@/lib/entityFormValidation';
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
import { Button } from '@/components/ui/button';