All threads / How Do Show Loading Indicator On A Turbo(Stimulus) Form ?
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

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

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

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

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

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.