mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03: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:
commit
875abcd31a
@ -52,6 +52,9 @@ function parseFieldErrors(obj, formValues) {
|
||||
}
|
||||
formErrors = formErrors.concat(parsed.formErrors);
|
||||
}
|
||||
if (typeof formValues[key] === 'boolean') {
|
||||
formErrors = formErrors.concat(value);
|
||||
}
|
||||
});
|
||||
|
||||
return { fieldErrors, formErrors };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user