Hi,
I am using angular kendo window and using the kendo validator within them. If one of the form fields has an error, the $scope.validator.validate() fails as expected. However on correction of the error the $scope.validator.validate() continues to fail.
I have the same kendo-validator="validate" set on both an 'add' kendo-window and an 'edit' kendo-window form. Once I have a failure in the edit window, opening the add window always shows errors on each of the fields.
Is there any special note or todos for angular kendo-window, kendo-validatiors that I should be aware of. I can post a plnkr if needed. Please let me know.
Here are some snippets
<div kendo-window="allDevices.addNewDeviceKendoWindow" k-title="'Add'" k-width="520" k-height="520"
k-visible="false"
k-position='{left:400, top:250}'
class="titlewindow">
<div>
<form id="adddeviceform" class="form-horizontal myform" role="form" kendo-validator="validator"
autocomplete="off">
<!-- K-window for edit-->
<div kendo-window="allDevices.editDeviceKendoWindow" k-title="'Edit'"
k-width="520" k-height="520" k-visible="false" k-position='{left:400, top:250}' class="titlewindow">
<div>
<form id="editdeviceform" class="form-horizontal myform" role="form" kendo-validator="validator"
autocomplete="off">
I'm using an
if ($scope.validator.validate()) {
call in the on submit of both the forms
-Rajesh
I am using angular kendo window and using the kendo validator within them. If one of the form fields has an error, the $scope.validator.validate() fails as expected. However on correction of the error the $scope.validator.validate() continues to fail.
I have the same kendo-validator="validate" set on both an 'add' kendo-window and an 'edit' kendo-window form. Once I have a failure in the edit window, opening the add window always shows errors on each of the fields.
Is there any special note or todos for angular kendo-window, kendo-validatiors that I should be aware of. I can post a plnkr if needed. Please let me know.
Here are some snippets
<div kendo-window="allDevices.addNewDeviceKendoWindow" k-title="'Add'" k-width="520" k-height="520"
k-visible="false"
k-position='{left:400, top:250}'
class="titlewindow">
<div>
<form id="adddeviceform" class="form-horizontal myform" role="form" kendo-validator="validator"
autocomplete="off">
<!-- K-window for edit-->
<div kendo-window="allDevices.editDeviceKendoWindow" k-title="'Edit'"
k-width="520" k-height="520" k-visible="false" k-position='{left:400, top:250}' class="titlewindow">
<div>
<form id="editdeviceform" class="form-horizontal myform" role="form" kendo-validator="validator"
autocomplete="off">
I'm using an
if ($scope.validator.validate()) {
call in the on submit of both the forms
-Rajesh