Skip to content

Commit 13d0e57

Browse files
authored
chore: make dropdown not editable (#2280)
1 parent 2b4cf67 commit 13d0e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catalyst_voices/apps/voices/lib/widgets/dropdown/voices_dropdown.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class SingleSelectDropdown<T> extends VoicesFormField<T> {
8888
return ConstrainedBox(
8989
constraints: const BoxConstraints(),
9090
child: DropdownMenu(
91+
requestFocusOnTap: false,
9192
controller: state._controller,
9293
focusNode: focusNode,
9394
expandedInsets: EdgeInsets.zero,
@@ -112,7 +113,6 @@ class SingleSelectDropdown<T> extends VoicesFormField<T> {
112113
),
113114
focusColor: Colors.tealAccent,
114115
),
115-
116116
errorText: field.errorText,
117117
// using visibility so that the widget reserves
118118
// the space for the icon, otherwise when widget changes

0 commit comments

Comments
 (0)