I am just starting out with Kendo so bear with me.. I have a typical angular form. I have only one kendo component in it (an autocomplete widget). Everything works fine but when I reset the form and model bound to the form that particular field retains its value.
Here is how it is defined
Now after a successful submit I do this to reset the form:
The one kendo UI widget in the form retains its old value. I would have assumed it to be bound to the ng-model like everything else.
Here is how it is defined
<
div
class
=
"form-group"
>
<
input
kendo-auto-complete
ng-model
=
"formData.state"
k-data-source
=
"states"
required
=
""
k-placeholder
=
"'State'"
class
=
"form-control"
>
</
div
>
Now after a successful submit I do this to reset the form:
$scope.formData = {};
$scope.signUpForm.$setPristine();
$scope.signUpForm.$setUntouched();
The one kendo UI widget in the form retains its old value. I would have assumed it to be bound to the ng-model like everything else.