diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js index 6bd308a6d4..62b9feaaea 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general/capacity-inputs.js @@ -223,9 +223,9 @@ define(function(require) { if (attr.type != "range"){ $("div.memory_input_wrapper", context).addClass("large-6").addClass("medium-8"); } - - attr.visor = true; - UserInputs.insertAttributeInputMB(attr, $("div.memory_input", context)); + + attr.visor = attr.type === "number"; + UserInputs.insertAttributeInputMB(attr, $("div.memory_input", context), false); if (Config.isFeatureEnabled("instantiate_hide_cpu")){ $(".vcpu_input input", context).prop("required", true); diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/templateRow.hbs b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/templateRow.hbs index 8a0d6d5d4e..21e1a0f00b 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/templateRow.hbs +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/templateRow.hbs @@ -24,12 +24,12 @@