mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 10:08:10 -03:30
Fixes erroneous validation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user