Skip to content

Feature Request - Meta Data by Index #153

@wdfinch

Description

@wdfinch

You can get the meta data for the whole field array using the useFieldArray hook. However, one thing that would be nice would be to get metadata for each index in the field array.

For example in my use case, users can save an individual field array item (the field at an index) rather than the entire field array. Therefore, I want to validate the field array item before allowing the user to save it. This is possible with the useForm hook and some extra work, however, it would be more convenient if I could access the metadata for this field array item and therefore receive the valid/invalid props.

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