Skip to content

Selects don't update css when corrected #4

Closed
@jason37

Description

@jason37

When a form has been validated including a select element that has failed validation previously, which now has "error" class applied to it, upon the next call to validate the form, if the select value is now valid the "error" class is not removed.

In jquery.formvalidator.js line 292:
$(this).find('input,textarea')

changing to this fixes it:
$(this).find('input,select,textarea')

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions