Skip to content

Commit ec02b1c

Browse files
Carlos Galandanvick
authored andcommitted
initialValue default was removed in FormBuilderCheckbox because value provided in _formState.initialValue was ignored
1 parent c10d590 commit ec02b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_checkbox.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FormBuilderCheckbox extends StatefulWidget {
2222
FormBuilderCheckbox({
2323
@required this.attribute,
2424
@required this.label,
25-
this.initialValue = false,
25+
this.initialValue,
2626
this.validators = const [],
2727
this.readOnly = false,
2828
this.decoration = const InputDecoration(),

0 commit comments

Comments
 (0)