Skip to content

Please Add An Example For Control Component Usage In The Context Of useFieldArray In Version 7 With Typescript #547

@dudiharush

Description

@dudiharush

Please Add An Example For Control Component Usage In The Context Of useFieldArray In Version 7 With Typescript

Is your feature request related to a problem? Please describe.
my problem is I could never make this part work with Typescript
{...register(test.${index}.value)}

the error message i got is:
"Types of property 'name' are incompatible.
Type 'string' is not assignable to type..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions