Angular JS Stop Dynamic Validation on Change Option of Select Dropdown
Code to stop the validation on dynamic update to the textbox or nay other elements.
< form name="$parent.balanceTransferForm" >
< select options="accounts" on-change="changeSourceAccount(value, $parent.balanceTransferForm)" ></ select >
< /form >
$scope.changeSourceAccount = function(account, form){
$scope.balanceTransferPreValidateReqObj.transferAmount.value = "";
if(form!=null){
form.$setPristine();
form.$setUntouched();
}
};