Modify ↓
Ticket #5258 (closed bug: invalid)
[validate] resetForm does not clear invalid list
| Reported by: | schulze | Owned by: | joern |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | plugin | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When the function resetForm() is called, the variable 'invalid' is not cleared, causing 'numberOfInvalids' to return a value different than the current number of visible errors when an element fails validation. A suggested solution is to add a line 'this.invalid = {};' to the resetForm() function.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
