diff --git a/src/Controller/SearchController.php b/src/Controller/SearchController.php index 09002109..9a3151e1 100644 --- a/src/Controller/SearchController.php +++ b/src/Controller/SearchController.php @@ -32,6 +32,7 @@ public function index(Intuition $intuition, Session $session):Response 'id' => 'search-widget', 'infusable' => true, 'value' => $failedSearchTerm[0] ?? '', + 'required' => true, ]); $button = new Tag( 'button' ); $button->setAttributes(['type' => 'submit']);