David Kimura PRO said over 3 years ago on Autocomplete with StimulusJS :
  Which database backend are you using? MySQL should automatically do a case-insensitive search.

If using postgresql, you can use ILIKE instead of LIKE