DEV Community

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

 
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