Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to use stimulus-autocomplete events when triggered

Alex Deering asked in General

Ive got the stimulus-autocomplete controller installed and working, but Im still learning how to work with stimulus. The documentation for the controller says there are events that get fired off and looking to hook into the autocomplete.change event but it doesnt have any examples.

I would like to display a message based on what is selected

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.