"use client"; import { useWatch } from "react-hook-form"; import { Slider } from "../../shadcnui"; import { FormFieldWrapper } from "./FormFieldWrapper"; export function FormSlider({ form, id, name, disabled, showPercentage, description, }: { form: any; id: string; name?: string; placeholder?: string; disabled?: boolean; showPercentage?: boolean; description?: string; }) { const value = useWatch({ control: form.control, name: id }); return (