mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 11:08:13 -03:30
Merge pull request #5361 from ansible/11254-awx-fix
Fixes erroneous validation Survey validation on Prompt on Launch
This commit is contained in:
@@ -128,9 +128,9 @@ function checkForError(launchConfig, surveyConfig, values) {
|
|||||||
hasError = true;
|
hasError = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isNumeric && (value || value === 0)) {
|
if (isNumeric) {
|
||||||
if (
|
if (
|
||||||
(value < question.min || value > question.max) &&
|
(value < question.min || value > question.max || value === '') &&
|
||||||
question.required
|
question.required
|
||||||
) {
|
) {
|
||||||
hasError = true;
|
hasError = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user