Skip to content

Commit 4f250a9

Browse files
committed
fix: clicking on option capsule will now create and select the new option value
1 parent a384404 commit 4f250a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/app_flowy/lib/workspace/presentation/plugins/grid/src/widgets/cell/select_option_cell/select_option_editor.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class _CreateOptionCell extends StatelessWidget {
207207
SelectOptionTag(
208208
name: name,
209209
color: theme.shader6,
210+
onSelected: () => context.read<SelectOptionCellEditorBloc>().add(SelectOptionEditorEvent.newOption(name)),
210211
),
211212
],
212213
);

0 commit comments

Comments
 (0)