Skip to main content
0 votes
2 answers
65 views

In a rails 8 application I have two models: Recipe and Ingredient In the "show" action for recipe I display all the child ingredients, one per row. Each ingredient has edit and delete links, ...
kranz's user avatar
  • 621
0 votes
0 answers
39 views

Given the following setup: Rails Gem with mountable Engine containing some common functionality using Ruby- and Javascript-Code. Javascript is mainly used in Stimulus-Controllers Rails 8 Application ...
Piezo Pea's user avatar
  • 132
0 votes
0 answers
117 views

I am working on a Ruby on Rails 7 application using Turbo (Hotwire). I want to implement proper browser history navigation across the entire application. Here’s the issue: On the home page, multiple ...
Abhinav kushwaha's user avatar
0 votes
0 answers
38 views

Reference Link: https://sub-xaero.github.io/stimulus-library/docs form_controller.js import { Controller } from '@hotwired/stimulus'; import { useDirtyFormTracking } from "stimulus-library"; ...
aldrien.h's user avatar
  • 3,723
0 votes
1 answer
116 views

I'm upgrading a Rails 6 app using Webpacker to Rails 7 with importmap. My app/javascript/controllers includes some controllers and the legacy folder with other controllers. By default, I can refer to ...
Sig's user avatar
  • 6,150
0 votes
1 answer
131 views

I have a bleeding edge Rails project (8.1) using the splendid View Components. I've made an image-modal component, triggered from a plain HTML anchor and that toggles visibility on a HTML dialog (...
jjg's user avatar
  • 1,120
1 vote
1 answer
90 views

I am creating an example project for my company and have to set up flagging for posts. I have used forms to setup post flagging method for users to flag posts in case of bad content. Here is the view &...
ANN17298's user avatar
0 votes
0 answers
64 views

this is a new question that originated in a previous one that I made, but I didn't wanted to mix everything up. I'm trying to add a preview when uploading an image to a form using stimulus. I got the ...
JMS's user avatar
  • 15
0 votes
1 answer
125 views

I am trying to add a preview when uploading an image, and I've came across this tutorial: "Image Previews with Active Storage in Ruby on Rails 7" I followed every step but I realized that ...
JMS's user avatar
  • 15
0 votes
1 answer
120 views

I am building the Symfony form with a CollectionType field. The application logic assumes that new items can be added. To be short in explanation what is done, I am providing the link from the ...
Max's user avatar
  • 1
0 votes
2 answers
110 views

I have a simple checklist adding functionality, with two different checklists on the page. Turbo adds the form to the frame, and then i'm trying to set the focus using stimulus. The trouble is, when ...
Will's user avatar
  • 4,742
0 votes
1 answer
156 views

I have a view with this partial: <div class="player stack outer-box"> <h1><%= @task.story.title %></h1> <audio id="player" controls data-controller=&...
user3574603's user avatar
  • 3,678
0 votes
0 answers
223 views

The stack is: RoR 8 + turbo-rails + propshaft + importmaps-rails + tailwindcss-rails + Flowbite. I have completed the integration steps from the Flowbite guide to add Flowbite to my Rails app. At ...
mate's user avatar
  • 169
0 votes
0 answers
130 views

I am using Rails, Hotwire Stimulus and Chartkick. First of all, I want to be able to click on the chart's specific datasets (columns/groups) and be able to export the data related to that clicked ...
Donatello's user avatar
0 votes
1 answer
218 views

Dealing with Symfony 7 project that it use Hotwire technologies (Stimulus, Turbo), I'm facing with strange issue with my Stimulus controller. I have a target controller Stimulus that recognize onto ...
miltone's user avatar
  • 4,816

15 30 50 per page
1
2 3 4 5
28