Skip to content

Commit c4c206c

Browse files
committed
Fixed bug in CheckboxList where new items cannot be added
1 parent adf30ad commit c4c206c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_checkbox_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class FormBuilderCheckboxList extends StatefulWidget {
2121
FormBuilderCheckboxList({
2222
@required this.attribute,
2323
@required this.options,
24-
this.initialValue = const [],
24+
this.initialValue,
2525
this.validators = const [],
2626
this.readOnly = false,
2727
this.leadingInput = false,

0 commit comments

Comments
 (0)