This commit is contained in:
2021-01-07 19:13:13 +00:00
parent e8f94c3c71
commit b3d2accf1c
3 changed files with 15 additions and 13 deletions

View File

@@ -84,6 +84,8 @@ function getControlLabel(ctrl) {
// from server error collection
//
function getErrorsForField(vm, ref) {
//Note: to debug this on forms just put {{ formState.serverError }}
//on the form to see what is actually stored there and should be showing
let ret = [];
if (ref == "generalerror") {
ret = vm.formState.serverError.details.filter(