Skip to content

Commit 258807a

Browse files
committed
Added type declaration for type safety.
1 parent 22ea946 commit 258807a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_dropdown.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class FormBuilderDropdown<T> extends FormBuilderField<T> {
266266
iconEnabledColor: iconEnabledColor,
267267
onChanged: (state.readOnly || !enabled)
268268
? null
269-
: (value) {
269+
: (T value) {
270270
_changeValue<T>(field, value);
271271
},
272272
onTap: onTap,

0 commit comments

Comments
 (0)