Merge pull request #526 from moksh-mahajan/CreateNewOptionCapsuleClick

Clicking on option capsule will now create and select the new opt value
This commit is contained in:
Nathan.fooo 2022-06-03 10:11:44 +08:00 committed by GitHub
commit e2778aef9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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