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 9a46142 commit 170b376Copy full SHA for 170b376
lib/src/fields/form_builder_dropdown.dart
@@ -296,6 +296,7 @@ class FormBuilderDropdown<T> extends FormBuilderFieldDecoration<T> {
296
final hasValue = items.map((e) => e.value).contains(field.value);
297
return InputDecorator(
298
decoration: state.decoration,
299
+ isEmpty: !hasValue,
300
child: DropdownButton<T>(
301
menuWidth: menuWidth,
302
padding: padding,
0 commit comments