From 5cb403dffd33d1d4a838621e79144eab1ca3ee5e Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Tue, 7 Jun 2016 13:54:21 -0400 Subject: [PATCH] Made survey text fields min length default to 0 instead of 1 --- .../src/job-templates/survey-maker/surveys/init.factory.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/job-templates/survey-maker/surveys/init.factory.js b/awx/ui/client/src/job-templates/survey-maker/surveys/init.factory.js index 3cc415843f..7f804565c7 100644 --- a/awx/ui/client/src/job-templates/survey-maker/surveys/init.factory.js +++ b/awx/ui/client/src/job-templates/survey-maker/surveys/init.factory.js @@ -204,11 +204,11 @@ export default scope.default_textarea = ""; scope.default_password = "" ; scope.choices = ""; - scope.text_min = 1; + scope.text_min = 0; scope.text_max = 1024 ; - scope.textarea_min = 1; + scope.textarea_min = 0; scope.textarea_max = 4096; - scope.password_min = 1; + scope.password_min = 0; scope.password_max = 32; scope.int_min = 0; scope.int_max = 100;