Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#13364 closed bug (notabug)

Change to 1.9.0 affected Validation

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:

Description

I don't know if this is a "core" issue. However, it only occurs when using 1.9

Using MVC 4, .net 4.5, jquery 1.9.0, jquery.validate, jquery.validate.unobtrusive

When I have an input using validation the class="input-validation-error" does not clear after the erroring condition is fixed. I tested this with the datepicker and with a regular expression check.

I uninstalled jquery 1.9.0 and installed 1.8.x and it works.

I noticed that sometimes inputs have class's of input-validation-error and sometimes of field-validation-error.

I somewhat suspect the .removeClass is being called with the wrong class name. But I'm not smart enought to know for sure.

Change History (2)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

This isn't a bug report, there are way too many things involved there. You should isolate the problem and debug it a bit more to determine where the problem lies. The jQuery Migrate plugin should be used as well.

comment:2 Changed 7 years ago by anonymous

jQuery Migrate is also not working, I installed in MVC but problem did not resolve.

Error: SyntaxError: invalid label Line: 13 Source Code: "version":3,

Note: See TracTickets for help on using tickets.