I have the following in side an HTML page:
"searchFilter.criteria" is a JS array object. And then I have a custom validator:
The issue is that the validator's .validate() is called, it correctly identifies incorrect data based on the custom rule, however if say the fieldName input field is invalid, it displays the k-invalid-msg for EVERY row, not just the single row with the invalid data. I am guessing this is because the name attributes for each row are not unique. I tried creating a unique id in the template:
Unfortunately, that did not work as the uid was only created once, at the time the template was loaded, not for each row.
Is there an easy way to generate a unique form name for the input elements in each row?