mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
Fixes erroneous validation
This commit is contained in:
parent
f34c96ecf5
commit
0d3a22bbc3
@ -128,9 +128,9 @@ function checkForError(launchConfig, surveyConfig, values) {
|
||||
hasError = true;
|
||||
}
|
||||
}
|
||||
if (isNumeric && (value || value === 0)) {
|
||||
if (isNumeric) {
|
||||
if (
|
||||
(value < question.min || value > question.max) &&
|
||||
(value < question.min || value > question.max || value === '') &&
|
||||
question.required
|
||||
) {
|
||||
hasError = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user