diff --git a/awx/ui/static/js/helpers/JobSubmission.js b/awx/ui/static/js/helpers/JobSubmission.js
index 01e5f02bf6..47f0a521f8 100644
--- a/awx/ui/static/js/helpers/JobSubmission.js
+++ b/awx/ui/static/js/helpers/JobSubmission.js
@@ -594,10 +594,37 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi
}
if(question.type === "multiselect"){
+ // question.options = question.choices.split(/\n/);
choices = question.choices.split(/\n/);
- element = (question.type==="multiselect") ? "checkbox" : 'radio';
+
+ // element = (question.type==="multiselect") ? "checkbox" : 'radio';
question.default = (question.default) ? question.default : (question.default_multiselect) ? question.default_multiselect : "" ;
// scope[question.variable].choices = choices;
+ // scope[question.variable] = {
+ // options: question.options,
+ // default: question.default,
+ // name: 'multi checkboxes',
+ // required: true,
+ // value: ''
+ // }
+ // function Ctrl($scope) {
+ // $scope.field = {
+ // name:'multi checkboxes',
+ // value:'',
+ // required:true,
+ // options:[
+ // {value:'option 1'},
+ // {value:'option 2'},
+ // {value:'option 3'}
+ // ]
+ // };
+ // }
+
+ // html+='