diff --git a/lib/widgets/dialog_widgets/dialog_text_input.dart b/lib/widgets/dialog_widgets/dialog_text_input.dart index 41ff3797..d266b3be 100644 --- a/lib/widgets/dialog_widgets/dialog_text_input.dart +++ b/lib/widgets/dialog_widgets/dialog_text_input.dart @@ -41,7 +41,7 @@ class DialogTextInput extends StatelessWidget { child: TextField( enabled: enabled, onSubmitted: (value) { - if (value.isNotEmpty) { + if (value.isNotEmpty || allowEmptySubmission) { onSubmit.call(value); } },