This commit is contained in:
@@ -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();
|
||||
// }
|
||||
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user