This commit is contained in:
Josh Hawkins 2026-05-28 13:41:15 -05:00
parent c82f7eee60
commit 65fc4a4c58

View File

@ -157,6 +157,7 @@ export default function CloneCameraDialog({
const form = useForm<CloneFormValues>({ const form = useForm<CloneFormValues>({
resolver: zodResolver(formSchema), resolver: zodResolver(formSchema),
mode: "onChange",
defaultValues: { defaultValues: {
sourceCamera: "", sourceCamera: "",
targetMode: "new", targetMode: "new",
@ -825,10 +826,15 @@ export default function CloneCameraDialog({
</div> </div>
<div className="space-y-4"> <div className="space-y-4">
<div className="flex flex-row items-center justify-between gap-2"> <div className="flex flex-row items-start justify-between gap-2">
<Label className="text-base"> <div className="space-y-1">
{t("cameraManagement.clone.categories.legend")} <Label className="text-base">
</Label> {t("cameraManagement.clone.categories.legend")}
</Label>
<p className="text-xs text-muted-foreground">
{t("cameraManagement.clone.categories.description")}
</p>
</div>
<div className="flex flex-row items-center gap-2 text-right text-xs text-muted-foreground"> <div className="flex flex-row items-center gap-2 text-right text-xs text-muted-foreground">
<span <span
className="cursor-pointer" className="cursor-pointer"