Skip to content

Validation of array of fields puts is-invalid on fields that are not invalid #148

@afeibus

Description

@afeibus

https://formvalidation.io/guide/examples/validating-fields-placed-in-table-cells/

If you fill in the first row, hit submit, the first row has green checks, but red outline. Should not have the red outline, since the fields are filled. What looks like is happening is if any of the project[] array has an invalid value, all of those fields are being marked as invalid. It's assuming an array of fields is like a checkbox list, where all are related to each other, but that may not true with other input fields.

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