You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using the change() is not a good idea. Validators in .net intercept the change event and this will trigger validation.
ex:
if I have a mask 99-99-9999 and I write 111 this will trigger the change event because 111 will change to 11-1 at this time this is a invalid date and the validators will inform the user that this is an invalid date.
You shouldn't trigger the change at this time or it should be a way to override it.
The text was updated successfully, but these errors were encountered:
I have to do that because in older browsers somehow when I do that element.val('newValue'); the change event is never triggered so I had to force it. BUT check out the v1.1.0 and test it.
I haven't tested yet this new version but looking at this method
behaviour: function(e) { var newVal = p.getMasked(mask); e = e || window.event;
using the change() is not a good idea. Validators in .net intercept the change event and this will trigger validation.ex:
if I have a mask 99-99-9999 and I write 111 this will trigger the change event because 111 will change to 11-1 at this time this is a invalid date and the validators will inform the user that this is an invalid date.
You shouldn't trigger the change at this time or it should be a way to override it.
The text was updated successfully, but these errors were encountered: