diff --git a/src/pages/compute/containers/Instance/actions/CreateIronic/index.jsx b/src/pages/compute/containers/Instance/actions/CreateIronic/index.jsx index dca7ed53..54013efb 100644 --- a/src/pages/compute/containers/Instance/actions/CreateIronic/index.jsx +++ b/src/pages/compute/containers/Instance/actions/CreateIronic/index.jsx @@ -207,27 +207,37 @@ export class CreateIronic extends StepAction { return null; } - renderFooterLeft() { - const { data } = this.state; - const { count = 1 } = data; - const configs = { + getCountInputConfig() { + return { min: 1, max: 100, precision: 0, onChange: this.onCountChange, formatter: (value) => `$ ${value}`.replace(/\D/g, ''), }; + } + + renderCountInput() { + const { data } = this.state; + const { count = 1 } = data || {}; + const configs = this.getCountInputConfig(); + return ( +