bug #4404 - removed the 21 char limit from amount field in send and request
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
parent
6d2161c1d4
commit
4be98b10bf
|
@ -47,8 +47,7 @@
|
||||||
[components/amount-selector {:error amount-error
|
[components/amount-selector {:error amount-error
|
||||||
:amount amount
|
:amount amount
|
||||||
:amount-text amount-text
|
:amount-text amount-text
|
||||||
:input-options {:max-length 21
|
:input-options {:on-focus (fn [] (when @scroll (utils/set-timeout #(.scrollToEnd @scroll) 100)))
|
||||||
:on-focus (fn [] (when @scroll (utils/set-timeout #(.scrollToEnd @scroll) 100)))
|
|
||||||
:on-change-text #(re-frame/dispatch [:wallet.request/set-and-validate-amount % symbol decimals])}}
|
:on-change-text #(re-frame/dispatch [:wallet.request/set-and-validate-amount % symbol decimals])}}
|
||||||
token]]]
|
token]]]
|
||||||
[bottom-buttons/bottom-buttons styles/bottom-buttons
|
[bottom-buttons/bottom-buttons styles/bottom-buttons
|
||||||
|
|
|
@ -244,8 +244,7 @@
|
||||||
(when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas)))
|
(when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas)))
|
||||||
:amount amount
|
:amount amount
|
||||||
:amount-text amount-text
|
:amount-text amount-text
|
||||||
:input-options {:max-length 21
|
:input-options {:on-focus (fn [] (when (and scroll @scroll) (utils/set-timeout #(.scrollToEnd @scroll) 100)))
|
||||||
:on-focus (fn [] (when (and scroll @scroll) (utils/set-timeout #(.scrollToEnd @scroll) 100)))
|
|
||||||
:on-change-text #(re-frame/dispatch [:wallet.send/set-and-validate-amount % symbol decimals])}} token]
|
:on-change-text #(re-frame/dispatch [:wallet.send/set-and-validate-amount % symbol decimals])}} token]
|
||||||
[advanced-options advanced? transaction modal? scroll]]]
|
[advanced-options advanced? transaction modal? scroll]]]
|
||||||
(if signing?
|
(if signing?
|
||||||
|
|
Loading…
Reference in New Issue