Add comment describing the rationale for the workaround
This commit is contained in:
parent
3d09252bb1
commit
6e2a2ca1b3
|
@ -18,6 +18,8 @@
|
||||||
:auto-focus true
|
:auto-focus true
|
||||||
:auto-capitalize :none}
|
:auto-capitalize :none}
|
||||||
(dissoc props :style :height)
|
(dissoc props :style :height)
|
||||||
|
;; Workaround until `value` TextInput field is available on desktop:
|
||||||
|
;; https://github.com/status-im/react-native-desktop/issues/320
|
||||||
(when-not platform/desktop?
|
(when-not platform/desktop?
|
||||||
{:value text}))]
|
{:value text}))]
|
||||||
(when content content)]
|
(when content content)]
|
||||||
|
|
Loading…
Reference in New Issue