DEV Community

Discussion on: Live query render with Rails 6 and Stimulus JS

 
maxencep40 profile image
MaxencePautre

Alright thanks for the details. I didn't use filter but search and I made sure the views path matched but I'm still getting the error in the SO post.
Would be useful if you someday get your hand on your repo so I can compare more precisely ;)

Thread Thread
 
mirmayne profile image
Daveyon Mayne 😻 • Edited

Could be many things. Your form is also missing the data-remote="true" That is needed and you're submitting with a button. Different from what I have. When I can I'll have a look.

Thread Thread
 
maxencep40 profile image
MaxencePautre • Edited

No it's just that since rails 6.1 you need to put local: false to submit via Ajax on the form_with