asked on 24 Jan 2022, 11:37 AM
| edited on 09 Feb 2022, 06:34 AM
I am working on a project that utilizes multiple rows. I have "required" in the html and a validator (such as the one below) in the typescript file.
The issue is that, if I check for validation and it returns false, then I close the window and go to a different row, the new row will still have false validations from the previous row and will still have the red borders around the required fields.
I can't find a way to turn off the validation when the row is exited.
I have attempted things such as this.kendoValidator.cleanAttributes; thinking it would clear the validation when the window is closed but the validator is still holding onto that false value for any other row that echatazar I go into.
1 Answer, 1 is accepted
answered on 27 Jan 2022, 08:18 AM
I did not find a typescript file attached or a Validator configuration. Please let me know if I am missing something.
You could reset the Validator by using the reset method. In the Dojo example linked here, the form can be validated on a button click. Then the Validator can be reset on click the 'Reset' button.
If the above does not help, please provide more details about the scenario on your side, so I could understand the issue better and advise you further.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.