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:
Juraj Bednar 2023-12-31 21:54:39 +01:00 committed by GitHub
parent fef618f96c
commit 55f6a8c6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
""") """)