Fix for predictive text
Kivy's default for input boxes changed from "text" to "null" in Kivy 2.1.0. Not specifying it disallowed typing using predictive text keyboards such as Gboard or Swiftkey swiping, which was irritating, when you are typing text messages.
This commit is contained in:
parent
573268fbf5
commit
7229c4be2c
|
@ -711,6 +711,7 @@ MDScreen:
|
||||||
MDTextField:
|
MDTextField:
|
||||||
id: message_text
|
id: message_text
|
||||||
keyboard_suggestions: True
|
keyboard_suggestions: True
|
||||||
|
input_type: "text"
|
||||||
multiline: True
|
multiline: True
|
||||||
hint_text: "Write message"
|
hint_text: "Write message"
|
||||||
mode: "rectangle"
|
mode: "rectangle"
|
||||||
|
@ -767,4 +768,4 @@ Builder.load_string("""
|
||||||
<CustomOneLineIconListItem>
|
<CustomOneLineIconListItem>
|
||||||
IconLeftWidget:
|
IconLeftWidget:
|
||||||
icon: root.icon
|
icon: root.icon
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Reference in New Issue