Ask A Question

Notifications

You’re not receiving notifications from this thread.

How Do Show Loading Indicator On A Turbo(Stimulus) Form ?

Suleiman Nassor asked in Ruby

I am learning rails by building a project. I am using the turbo frames for the form.
I would like to add a loading indicator to the submit button just like the one on this forum when you comment on a thread. Has anyone any idea on how I can achieve that ?

Best regards,
Suleiman Nassor

Reply

I figured this out

Reply

Suleiman, how you do that? can you please share the code?

Reply

This post must be removed as it has no helpful content.

Reply

Can't post links but there is a nice example here:

www mikewilson . dev/posts/using-hotwire-with-rails-for-a-spa-like-experience

Reply
Join the discussion
Create an account Log in

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

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

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