Replies: 1 comment 1 reply
-
Hey @timmyd87 thanks for the question Because the options are requested as a turbo_stream response, you need to either name your partial I'm fairly certain that's what's happening here. But if not, please share the whole error message. Closing for now but let me know! |
Beta Was this translation helpful? Give feedback.
-
I'm now trying to render the results in a custom partial and looking at the docs (for async) we simply need to pass in 'render_in:' which looks like:
<%= async_combobox_options @product_variants, render_in: { partial: "products/results" } %>
however im getting an error
ActionView::Template::Error (Missing partial products/_results with {:locale=>[:en], :formats=>[:turbo_stream], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}.
The partial definitely exists.
Any clues about where im going wrong?
Beta Was this translation helpful? Give feedback.
All reactions