diff --git a/app/components/frozen-funds/form.jsx b/app/components/frozen-funds/form.jsx index 8eee4a5..e3f88db 100644 --- a/app/components/frozen-funds/form.jsx +++ b/app/components/frozen-funds/form.jsx @@ -314,6 +314,7 @@ class FrozenFundsForm extends React.Component { value={form.get('fee').value} setFee={this.props.setFeeFormValue} placeholder={placeholderFee} + isFreeze /> diff --git a/app/components/input-dropdown/index.jsx b/app/components/input-dropdown/index.jsx index 1b24d0c..34bb690 100644 --- a/app/components/input-dropdown/index.jsx +++ b/app/components/input-dropdown/index.jsx @@ -304,7 +304,7 @@ class InputDropdown extends React.Component { opened, focus, assetsList, tokensList, search, currentVal, } = this.state; const { - title, hints, disable, errorText, value: inputValue, name, intl, placeholder, + title, hints, disable, errorText, value: inputValue, name, intl, placeholder, isFreeze, } = this.props; const assetsTitle = intl.formatMessage({ id: 'send.dropdown.assets' }); @@ -352,86 +352,93 @@ class InputDropdown extends React.Component { name={name} value={inputValue} error={!!errorText} - disabled={disable} + disabled={disable || isFreeze} ref={(amountInput) => { this.amountInput = amountInput; }} className={classnames('field input-dropdown', { focus }, { disabled: isDropdownActive })} placeholder={title} - onFocus={() => this.setFocus(true)} - onBlur={() => this.setFocus(false)} + onFocus={isFreeze ? () => this.setFocus(true) : () => {}} + onBlur={isFreeze ? () => this.setFocus(false) : () => {}} onChange={(e) => this.props.onChange(e)} onKeyPress={(e) => this.props.onKeyPress(e)} action={(