David Kimura PRO said about 3 years ago on Autocomplete with StimulusJS :
I've downloaded the source for this episode and tested these changes out with Stimulus 2.0.0 and confirmed that this will resolve the issue.