This doesn't make any sense to me. I don't see it pointed out anywhere in the docs either.
You can see in the custom validator example:
I didn't pay any attention to the .is() at first, but now I know why. I thought updating to the latest KendoUI would resolve the issue, but it does not. You can still see the behavior on the trykendo site: http://trykendoui.telerik.com/ajat/2. Open the console and you can see that it runs for every field.
Please incorporate the .is() check or another approach so that I don't have to remember to do it...
You can see in the custom validator example:
productnamevalidation:
function
(input) {
if
(input.is(
"[name='ProductName']"
) && input.val() !=
""
) {}
I didn't pay any attention to the .is() at first, but now I know why. I thought updating to the latest KendoUI would resolve the issue, but it does not. You can still see the behavior on the trykendo site: http://trykendoui.telerik.com/ajat/2. Open the console and you can see that it runs for every field.
Please incorporate the .is() check or another approach so that I don't have to remember to do it...