Craft CMS 3 GetQueryParam Query parameter always coming back as null from user input

41 Views Asked by At

Implementing a search bar in craft cms 3 application and query is always returning null from user input. Entries are always fetched correctly, searchTerm as shown in the code is always null. NO errors in the console or network tab.

SearchController.php

search_bar.twig

custom module R.php

0

There are 0 best solutions below