Skip to content

Commit a519cb9

Browse files
committed
Fix bug in CheckboxGroup where InputDecoration isn't enabled. Closes #405
1 parent f1e5554 commit a519cb9

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
@@ -128,7 +128,7 @@ class _FormBuilderCheckboxGroupState<T>
128128
builder: (FormFieldState field) {
129129
return InputDecorator(
130130
decoration: widget.decoration.copyWith(
131-
enabled: _readOnly,
131+
enabled: !_readOnly,
132132
errorText: field.errorText,
133133
),
134134
child: GroupedCheckbox(

0 commit comments

Comments
 (0)