// baseProps.js import { ReactNode } from "react"; import { Control, FieldValues, FieldPath } from "react-hook-form"; export interface BaseSmartInputProps<T extends FieldValues> { loading?: boolean; label: ReactNode; name: FieldPath<T>; control: Control<T>; } bestickley commented Jun ...
All items appended to a field array are reset to the value given atappendtime when you delete an item from the stack. To Reproduce Steps to reproduce the behavior: Go tohttps://codesandbox.io/s/react-hook-form-usefieldarray-vy8fv
Using watch with a specific field name is not possible because of the parent field array. For example the name of Material field ispos.${index}.material. I tried making a onChange sync callback at the parent / form level which could be passed to each field, but even accessing the field...