mirror of
https://github.com/status-im/status-react.git
synced 2025-02-10 18:06:52 +00:00
Escape address so newlines and spaces don't interfere
Signed-off-by: shivekkhurana <shivek@status.im>
This commit is contained in:
parent
30753f8766
commit
fbb606b859
@ -272,7 +272,7 @@
|
|||||||
:text-align-vertical :top
|
:text-align-vertical :top
|
||||||
:on-change-text #(do
|
:on-change-text #(do
|
||||||
(re-frame/dispatch [:set-in [:wallet/recipient :searching] :searching])
|
(re-frame/dispatch [:set-in [:wallet/recipient :searching] :searching])
|
||||||
(debounce/debounce-and-dispatch [:wallet.recipient/address-changed %] 600))
|
(debounce/debounce-and-dispatch [:wallet.recipient/address-changed (utils/safe-trim %)] 600))
|
||||||
:accessibility-label :recipient-address-input}]]
|
:accessibility-label :recipient-address-input}]]
|
||||||
[react/view {:align-items :center :height 30 :padding-bottom 8}
|
[react/view {:align-items :center :height 30 :padding-bottom 8}
|
||||||
(if searching
|
(if searching
|
||||||
|
Loading…
x
Reference in New Issue
Block a user