Craft 3 - Searching by date field - Calling unknown method: craft\behaviors\ElementQueryBehavior
Was missing the square brackets 

{% set groupedEvents = craft.entries(params).eventDate(['and', '&gt;= ' ~ startdate, '&lt;= ' ~ enddate]) | group('eventDate|date("Y-m-d")') %}