diff --git a/app/views/layouts/angular/_ansible_form_options_angular.html.haml b/app/views/layouts/angular/_ansible_form_options_angular.html.haml index 16eb5b0d8bbe..6698306cab30 100644 --- a/app/views/layouts/angular/_ansible_form_options_angular.html.haml +++ b/app/views/layouts/angular/_ansible_form_options_angular.html.haml @@ -13,7 +13,7 @@ %option{"value" => ""} = "<#{_('Choose')}>" - #playbook_div{"ng-if" => "vm.#{prefix}_repository_selected()"} + #playbook_div{"ng-show" => "vm.#{prefix}_repository_selected()"} .form-group{"ng-class" => "{'has-error': angularForm.#{prefix}_playbook_id.$invalid}"} %label.col-md-2.control-label{"for" => "#{prefix}_playbook_id"} = _('Playbook') @@ -63,7 +63,7 @@ "name" => "#{prefix}_cloud_type", 'ng-options' => "cloud_type for cloud_type in #{ng_model}.cloud_types", "ng-change" => "cloudTypeChanged('#{prefix}')", - :checkchange => "", + :checkchange => true, "pf-select" => true} %option{"value" => ""} = "<#{_('Choose')}>"