"use client"; import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage, } from "@/components/ui/form"; import { plantingDetailsFormSchema } from "@/schemas/application.schema"; import { useForm } from "react-hook-form"; import { z } from "zod"; import { zodResolver } from "@hookform/resolvers/zod"; import { Input } from "@/components/ui/input"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from "@/components/ui/select"; import { Textarea } from "@/components/ui/textarea"; import { Switch } from "@/components/ui/switch"; type plantingSchema = z.infer; export default function PlantingDetailsForm() { const form = useForm({ resolver: zodResolver(plantingDetailsFormSchema), defaultValues: {}, }); return (
( Day to Emerge
)} /> ( Plant Spacing
)} /> ( Row Spacing
)} /> ( Planting Depth
)} /> ( Average Height
)} /> ( Start Method )} /> ( Light Profile )} /> ( Soil Conditions )} /> ( Planting Details