Skip to content

Commit 8d306be

Browse files
Disable new lines for single line edit text (#2737)
1 parent 7bc8b07 commit 8d306be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

datacapture/src/main/res/layout/edit_text_single_line_view.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<com.google.android.material.textfield.TextInputEditText
5353
android:id="@+id/text_input_edit_text"
5454
style="?attr/questionnaireTextInputEditTextStyle"
55+
android:inputType="text"
5556
android:layout_width="match_parent"
5657
android:layout_height="wrap_content"
5758
android:maxLines="1"

0 commit comments

Comments
 (0)