diff --git a/awx/ui/client/src/shared/directives.js b/awx/ui/client/src/shared/directives.js index b06d6bfa3d..5a7f3ef8e3 100644 --- a/awx/ui/client/src/shared/directives.js +++ b/awx/ui/client/src/shared/directives.js @@ -355,7 +355,7 @@ function(ConfigurationUtils, i18n, $rootScope) { require: 'ngModel', link: function(scope, elm, attrs, ctrl) { ctrl.$parsers.unshift(function(viewValue) { - if (FLOAT_REGEXP.test(viewValue)) { + if (viewValue === '' || FLOAT_REGEXP.test(viewValue)) { ctrl.$setValidity('float', true); return parseFloat(viewValue.replace(',', '.')); } else {