New Discussion

Notifications

You’re not receiving notifications from this thread.

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

4
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

I figured this out

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

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

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

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

Join the discussion
Create an account Log in

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

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

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