Skip to content

Having multiple validationErrorClasses displays the error twice when submitting the form again #10

@thomasaull

Description

@thomasaull

I'm using the following options:

ValidForm(form, {
  validationErrorClass: 'Input-error has-text-danger'
})

while it does work perfectly when the error is shown for the first time, every subsequent display does not remove the first one – or every time I click on submit another error message is added:

grafik

Having only one validationErrorClass works perfectly:

ValidForm(form, {
  validationErrorClass: 'Input-error'
})

Ping me if you need a test repo :)

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