turn off auto capitalization in url text inputs
This commit is contained in:
parent
dd83212eba
commit
7e4903826f
|
@ -30,6 +30,8 @@
|
||||||
(re-frame/dispatch [:navigate-to-clean :home])
|
(re-frame/dispatch [:navigate-to-clean :home])
|
||||||
(re-frame/dispatch [:open-browser {:url @url-text}]))
|
(re-frame/dispatch [:open-browser {:url @url-text}]))
|
||||||
:placeholder (i18n/label :t/enter-url)
|
:placeholder (i18n/label :t/enter-url)
|
||||||
|
:auto-capitalize :none
|
||||||
|
:auto-correct false
|
||||||
:style styles/url-input}]]
|
:style styles/url-input}]]
|
||||||
[react/text {:style styles/list-title}
|
[react/text {:style styles/list-title}
|
||||||
(i18n/label :t/selected-dapps)]
|
(i18n/label :t/selected-dapps)]
|
||||||
|
|
|
@ -33,6 +33,8 @@
|
||||||
:on-submit-editing #(re-frame/dispatch [:update-browser (assoc browser :url @url-text)])
|
:on-submit-editing #(re-frame/dispatch [:update-browser (assoc browser :url @url-text)])
|
||||||
:auto-focus (not url)
|
:auto-focus (not url)
|
||||||
:placeholder (i18n/label :t/enter-url)
|
:placeholder (i18n/label :t/enter-url)
|
||||||
|
:auto-capitalize :none
|
||||||
|
:auto-correct false
|
||||||
:default-value url
|
:default-value url
|
||||||
:style styles/url-input}]
|
:style styles/url-input}]
|
||||||
;;TODO .reload doesn't work, implement later
|
;;TODO .reload doesn't work, implement later
|
||||||
|
@ -93,4 +95,4 @@
|
||||||
[react/touchable-highlight {:on-press #(.goForward @webview) :disabled (not can-go-forward?)
|
[react/touchable-highlight {:on-press #(.goForward @webview) :disabled (not can-go-forward?)
|
||||||
:style styles/forward-button}
|
:style styles/forward-button}
|
||||||
[react/view (when (not can-go-forward?) {:opacity 0.4})
|
[react/view (when (not can-go-forward?) {:opacity 0.4})
|
||||||
[vector-icons/icon :icons/arrow-right]]]]]))
|
[vector-icons/icon :icons/arrow-right]]]]]))
|
||||||
|
|
Loading…
Reference in New Issue