Skip to content

Commit ece8a40

Browse files
feat: Set by default flex loose to FormBuilderSearchableDropdown
1 parent 168ba6e commit ece8a40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_searchable_dropdown.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class FormBuilderSearchableDropdown<T> extends FormBuilderField<T> {
129129
this.shouldRequestFocus = false,
130130
@Deprecated('Please use [clearButtonProps] instead')
131131
this.showClearButton = false,
132-
this.popupProps = const PopupProps.menu(),
132+
this.popupProps = const PopupProps.menu(fit: FlexFit.loose),
133133
this.clearButtonProps,
134134
this.dropdownSearchTextStyle,
135135
this.dropdownButtonProps,

0 commit comments

Comments
 (0)