|
|
|
@ -82,6 +82,7 @@ CurrencyDisplay.prototype.render = function () { |
|
|
|
|
style: { |
|
|
|
|
borderColor: inError ? 'red' : null, |
|
|
|
|
}, |
|
|
|
|
onClick: () => this.currencyInput.focus(), |
|
|
|
|
}, [ |
|
|
|
|
|
|
|
|
|
h('div.currency-display__primary-row', [ |
|
|
|
@ -96,6 +97,7 @@ CurrencyDisplay.prototype.render = function () { |
|
|
|
|
onInputChange: newValue => { |
|
|
|
|
handleChange(this.getAmount(newValue)) |
|
|
|
|
}, |
|
|
|
|
inputRef: input => { this.currencyInput = input; }, |
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
h('span.currency-display__currency-symbol', primaryCurrency), |
|
|
|
|