tnobler said over 3 years ago on Autocomplete with StimulusJS :
This is great!  I am trying to implement this for a product field, so that you search products.  I have 
product.name
as the content for the content_tag in the view:
<%= content_tag :li, product.name, role: :option, data: { 'autocomplete-value': product.id } %>
How can I add other product attributes to show up in the search display?  In other words, when I type "Some Product" the results list displays "Some Product Name | Price | Description | etc"?