"use client"; import { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormUi, SelectBox, } from "@common/business_components/ui"; import { Input } from "@common/components/ui"; import { zodResolver } from "@hookform/resolvers/zod"; import { useForm } from "react-hook-form"; import { z } from "zod"; import { useWrStore } from "@/app/store"; import { selectClass } from "@/app/store/rainReuseFacilityInsert"; const formSchema = z.object({ username: z.string().min(2).max(50), facilityName: z.string().min(2).max(50), }); export function RswtrReuseFaciltyInsertForm() { const { rswt } = useWrStore((state) => state); const form = useForm>({ resolver: zodResolver(formSchema), defaultValues: { username: "", }, }); // 2. Define a submit handler. function onSubmit(values: z.infer) { // Do something with the form values. // ✅ This will be type-safe and validated. console.log(values); } const onSelectValue=(val:string)=>{ console.log(val) } return (
{/*
*/}

○ 중수도 시설 운영정보

기본정보

( )} />
( )} />
( )} />
( )} />

중수도 시설 정보

( )} />
( )} />
( )} />

인센티브 정보

✓ 1. 설치비 지원

( )} />
( )} />

✓ 2. 녹색건축물 인증

( )} />
( )} />
( )} />
( )} />
); }