Closed Roopaish closed 5 months ago
In the react hook form, the value that is in field is undefined initially , which can't be iterated and it causes client side exception.
I fixed it by making this change
const MultiSelector = ({ values, onValuesChange: onValueChange, loop = false, className, children, dir, ...props }: MultiSelectorProps) => { const value = Array.isArray(values) ? values : [] .....
In the react hook form, the value that is in field is undefined initially , which can't be iterated and it causes client side exception.
I fixed it by making this change