Skip to content

Commit 28299b5

Browse files
committed
Fix bug where FormBuilderCheckboxGroup value set to widget.initialValue. Closes #467
1 parent efa8df0 commit 28299b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_checkbox_group.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class _FormBuilderCheckboxGroupState<T>
133133
),
134134
child: GroupedCheckbox(
135135
orientation: widget.orientation,
136-
value: widget.initialValue,
136+
value: field.value,
137137
options: widget.options,
138138
onChanged: (val) {
139139
field.didChange(val);

0 commit comments

Comments
 (0)