File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ class _MyHomePageState extends State<MyHomePage> {
57
57
child: Column (
58
58
children: [
59
59
FormBuilderSearchableDropdown <String >(
60
- popupProps: const PopupProps .menu (showSearchBox: true ),
61
60
name: 'searchable_dropdown_online' ,
62
61
onChanged: _onChanged,
63
62
asyncItems: (filter) async {
Original file line number Diff line number Diff line change @@ -129,7 +129,10 @@ class FormBuilderSearchableDropdown<T> extends FormBuilderField<T> {
129
129
this .shouldRequestFocus = false ,
130
130
@Deprecated ('Please use [clearButtonProps] instead' )
131
131
this .showClearButton = false ,
132
- this .popupProps = const PopupProps .menu (fit: FlexFit .loose),
132
+ this .popupProps = const PopupProps .menu (
133
+ showSearchBox: true ,
134
+ fit: FlexFit .loose,
135
+ ),
133
136
this .clearButtonProps,
134
137
this .dropdownSearchTextStyle,
135
138
this .dropdownButtonProps,
@@ -174,7 +177,6 @@ class FormBuilderSearchableDropdown<T> extends FormBuilderField<T> {
174
177
baseStyle: dropdownSearchTextStyle,
175
178
),
176
179
filterFn: filterFn,
177
- // isFilteredOnline: isFilteredOnline,
178
180
items: items,
179
181
itemAsString: itemAsString,
180
182
onBeforeChange: onBeforeChange,
You can’t perform that action at this time.
0 commit comments