Skip to content

Commit f8a9d06

Browse files
committed
fix(extra_fields): fixed bug where searchable dropdown dialog height couldn't be adjusted. Fixes #926
1 parent d90bf77 commit f8a9d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/form_builder_extra_fields/lib/src/fields/form_builder_searchable_dropdown.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class FormBuilderSearchableDropdown<T> extends FormBuilderField<T> {
283283
key: ValueKey(state.value),
284284
// Hack to rebuild when didChange is called
285285
items: items,
286-
maxHeight: 300,
286+
maxHeight: maxHeight,
287287
onFind: onFind,
288288
onChanged: (val) {
289289
state.requestFocus();

0 commit comments

Comments
 (0)