mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
Merge pull request #10161 from nixocio/ui_issue_10144
Display error for boolean fields Display error when modifying Allow Override Branch on Projects. See: #10144 Reviewed-by: Keith Grant <keithjgrant@gmail.com> Reviewed-by: Kersom <None>
This commit is contained in:
@@ -52,6 +52,9 @@ function parseFieldErrors(obj, formValues) {
|
|||||||
}
|
}
|
||||||
formErrors = formErrors.concat(parsed.formErrors);
|
formErrors = formErrors.concat(parsed.formErrors);
|
||||||
}
|
}
|
||||||
|
if (typeof formValues[key] === 'boolean') {
|
||||||
|
formErrors = formErrors.concat(value);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return { fieldErrors, formErrors };
|
return { fieldErrors, formErrors };
|
||||||
|
|||||||
Reference in New Issue
Block a user