Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Working with Rails and Turbo

vishwasb priority asked 1 year ago


Expected behavior

Components have a javascript, but in Rails, there is a Turbo page load, so in javascript there should be a way to trigger component's javascript (for example Tooltip). I tried with native bootstrap way but it does not work

Actual behavior

Currently import statement are performed on page load, but not on Rails navigation with Turbo.

Resources (screenshots, code snippets etc.)

Please answer also the https://mdbootstrap.com/support/standard/how-to-work-with-ruby-on-rails-7-and-mdb5/


passandu priority commented 6 months ago

hi, do u find a way to make it work with rubo rails?


Kamila Pieńkowska staff answered 1 year ago


We have a tutorial on how to set up a simple app in Rails using MDB https://mdbootstrap.com/docs/standard/integrations/rails/

Some elements may need initiation with JS but you need to use MDB docs to look for them.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.0.0
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: Yes
  • Provided link: Yes