This commit is contained in:
2019-04-04 00:11:27 +00:00
parent 8636fd8b8b
commit 35f2757e94
3 changed files with 43 additions and 14 deletions

View File

@@ -477,10 +477,19 @@ Here are all the API level error codes that can be returned by the API server:
return o.target == ref;
});
//if a target was hit then need to trigger validate again for it to remove the error message
if (m.length > 0) {
var ctrl = getControl(v, ref);
ctrl.errorMessages=[];
}
// //if a target was hit then need to trigger validate again for it to remove the error message
//NOTHING SEEMS TO BE ABLE TO TRIGGER THIS
// if (m.length > 0) {
// var ctrl = getControl(v, ref);
// //ctrl.validate(true);
// // ctrl.errorMessages.length=0;
// // var frm=getControl(v,"form");
// // frm.validate();
// }
}
};