fix: clicking on option capsule will now create and select the new option value

This commit is contained in:
Moksh Mahajan 2022-06-02 01:34:45 +05:30
parent a384404814
commit 4f250a9130

View File

@ -207,6 +207,7 @@ class _CreateOptionCell extends StatelessWidget {
SelectOptionTag(
name: name,
color: theme.shader6,
onSelected: () => context.read<SelectOptionCellEditorBloc>().add(SelectOptionEditorEvent.newOption(name)),
),
],
);