Skip to content

Multiple fields in one <validate> block? #133

@jezmck

Description

@jezmck

I'd like to have 3 validated inputs and have all their errors appear in the same place, after all the inputs.

Minimal replication: https://codepen.io/jezmck/pen/oNjyXBm

Only one of the inputs is validated, kinda. The message for the first input can appear when the second is invalid etc.

I don't know whether I'm missing something, but why is the name attributes mandatory available if there can only be 1 <field-messages> tag per <validate> tag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions