diff --git a/app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js b/app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js index 19910a57cabb..932dfc39d6de 100644 --- a/app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js +++ b/app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js @@ -739,6 +739,8 @@ ManageIQ.angular.app.controller('emsCommonFormController', ['$http', '$scope', ' $scope.updateAuthStatus = function(updatedValue) { $scope.angularForm[$scope.currentTab + '_auth_status'].$setViewValue(updatedValue); + $scope.angularForm.$valid = updatedValue; + $scope.angularForm.$invalid = !updatedValue; }; $scope.updateHostname = function(value) {