mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -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;
|
||||
}
|
||||
}
|
||||
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