diff --git a/src/Controller/LabelController.php b/src/Controller/LabelController.php
index 7d98019d..f5da187e 100644
--- a/src/Controller/LabelController.php
+++ b/src/Controller/LabelController.php
@@ -126,6 +126,11 @@ class LabelController extends AbstractController
new FormError($this->translator->trans('label_generator.no_entities_found'))
);
}
+
+ //When the profile lines are empty, show a notice flash
+ if (trim($form_options->getLines()) === '') {
+ $this->addFlash('notice', 'label_generator.no_lines_given');
+ }
}
return $this->render('label_system/dialog.html.twig', [
diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf
index 820c74b4..11358786 100644
--- a/translations/messages.en.xlf
+++ b/translations/messages.en.xlf
@@ -11463,5 +11463,11 @@ Element 3
Auto (decide based on system settings)
+
+
+ label_generator.no_lines_given
+ No text content given! The labels will remain empty.
+
+