Stimulus Discourse

Autocomplete component with stimulus


#1

Hi all,

I’ve created a stimulus autocomplete components. It’s heavily based on github’s autocomplete element, but uses stimulus instead of custom elements. At 1.5kB compressed it’s really lightweight. Check it out at


Type-ahead search Rails + StimulusJS
#2

Thanks for making this! I’m having a tough time seeing out to use the example with styling in a Rails project.

For reference, I’m trying to use Stimulus and Bulma only.