We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 483f02f commit 525f65eCopy full SHA for 525f65e
lib/src/fields/form_builder_dropdown.dart
@@ -295,6 +295,7 @@ class FormBuilderDropdown<T> extends FormBuilderFieldDecoration<T> {
295
final hasValue = items.map((e) => e.value).contains(field.value);
296
return InputDecorator(
297
decoration: state.decoration,
298
+ isEmpty: !hasValue,
299
child: DropdownButton<T>(
300
menuWidth: menuWidth,
301
padding: padding,
0 commit comments