Fix: Controlled input error in ReservationForm
This commit is contained in:
@@ -42,6 +42,12 @@ export function ReservationForm({ halls, customers, packages }: ReservationFormP
|
||||
const form = useForm<z.infer<typeof formSchema>>({
|
||||
resolver: zodResolver(formSchema),
|
||||
defaultValues: {
|
||||
hall_id: "",
|
||||
customer_id: "",
|
||||
package_id: "",
|
||||
date: "",
|
||||
start_time: "",
|
||||
end_time: "",
|
||||
notes: "",
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user