for nested field array, you will have to cast the field array by its name. const { fields } = useFieldArray({ name: `test.${index}.keyValue` as 'test.0.
確定! 回上一頁