diff --git a/app/views/_compute-resource.html b/app/views/_compute-resource.html index 8fa43bd8cd..6fa84da626 100644 --- a/app/views/_compute-resource.html +++ b/app/views/_compute-resource.html @@ -9,7 +9,7 @@ ng-attr-id="{{id}}" ng-model="input.amount" min="0" - pattern="\d*" + pattern="\d+(\.\d+)?" ng-attr-placeholder="{{placeholder}}" select-on-focus class="form-control" diff --git a/app/views/directives/osc-persistent-volume-claim.html b/app/views/directives/osc-persistent-volume-claim.html index 3dfec98d36..37e0f0ce3b 100644 --- a/app/views/directives/osc-persistent-volume-claim.html +++ b/app/views/directives/osc-persistent-volume-claim.html @@ -146,7 +146,7 @@ ng-model="claim.amount" required min="0" - pattern="\d*" + pattern="\d+(\.\d+)?" select-on-focus class="form-control" aria-describedby="claim-capacity-help"> diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index 0d3d4c98c4..3055c6214d 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -75,7 +75,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "\n" + - "\n" + + "\n" + "
\n" + "
\n" + "\n" + @@ -7904,7 +7904,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "\n" + - "\n" + + "\n" + "
\n" + "
\n" + "\n" +