
Populate dropdowns based on selection
4
Javascript
I'd like to get people's thoughts on the best approach.
I'd like to have a search ability where once a selection if made, the next dropdown box populates with only the available options from the d...
Chris Oliver replied

Decoupling Development: Rails + Next.js for Collaborative Full-Stack Projects
0
Javascript
Hey Rails Community!
I want to share the gem that I believe will significantly streamline full-stack development workflows: https://github.com/raphox/next_rails_scaffold
What Does It Do? The gem ...
Raphael Araújo posted

How can i install Daisy UI?
0
Javascript
I want to be able to use Daisy UI, but i am reading different ways to accomplish this – making me confused on how to actually install node packages.
1. One way is setting up the CDN, which is not ...

Dropzone with Shrine
4
Javascript
I just switched to shrine as Active Storage doesn't support custom file paths. At my day job a question on security assessments requires blob storage to have some sort of tenant separation and i th...
RuthDow replied

Trix editor in react native
2
Javascript
Anyone have suggestions for how to implement the trix editor in a react native front end? The key is I want to maintain trix’s mention functionality and the attachment of images. Ultimately I’d li...
davidlbean replied

How do I render a (Stimulus) modal without user interaction?
1
Javascript
When a data value in my view meets certain criteria (e.g.: "< 0"), I want to render a modal (which is configured using Stimulus).
I know this is a noobish question, but I'm not finding obvious ...
Solved

Rails Webpack caching
1
Javascript
I'm having an issue in development where I've changed my main application.js file in /javascript/packs/ and the file is being cached so having a hard time testing new changes. Does anyone else have...
Solved

Issue with inline-form from stimulus twitter example
2
Javascript
I have a rails 5.1 app that I am working the stimulus twitter example into. Instead of tweets they are going to be comments. The comments are linked to servicerequests. So on the servicerequest/sho...

How do I embed an internal routes/show page on to an external website?
1
Javascript
Hey all, I've seen websites where you place some Javascript code - and they are able to display information from another website on their website. Wondering how I can do the same? I have a www...

Add image attachment to user post and server via AWS S3
3
Javascript
Hello.
I have a RoR 5.1 app, with an existing form that allows users to add a post to my app. However I want them to be able to include an image as an attachment. I'd like to save the image to S3...

I'm feeling lost about learning JavaScript, HELP!
10
Javascript
Hello people,
for the past weeks or months I've been trying to learn JS by my self.
I started learning with Modern JavaScript and read most of the basic stuff but I couldn't continue and I stoppe...

MailTester Ninja email checker into my Node.js application ?
0
Javascript
Hey everyone,
I'm relatively new to Node.js and I'm working on a project where I need to verify email addresses. I came across mailtester.ninja which seems like a great tool for this purpose, but...
John Connely posted

GET http://127.0.0.1:3000/assets/stimulus-loading.js net::ERR_ABORTED 404 (Not Found)
0
Javascript
Hi all! Sorry to inform that after some manipulations with my js part of the rails 7.1.2 project I am constantly getting an error :
`GET http://127.0.0.1:3000/assets/stimulus-loading.js net::ERR_AB...
Tetyana Goncharenko posted

'Uncaught ReferenceError: Rails is not defined' even after importing it in application.js file
0
Javascript
hello, i am really new to Rails. I wanted to make ajax call to a function in controller.
I have following in my view:
```
function fetchMessages() {
// Get user input from text field
let inpu...
anujmohatkar posted

Front-end frameworks and Turbolinks
7
Javascript
Hey Everyone,
I'm having a small problem with the JavaScript components of the [Uikit framework](http://www.getuikit) and I know it has to do with turbolinks. Here's the gem I'm using [Uikit2-Rail...

Recomendations for a javascript frontend library that can authenticate against Doorkeeper/oAuth OpenID using PKCE
1
Javascript
Pretty much as the title says.. I am looking for a javascript library that can authenticate against Doorkeeper.
We currently have a really old in-house authentication process and migrating to bui...

How to use <script> in Rails 7
4
Javascript
How do I display a that holds a url with the .js I want to display. For example, <script src="https://greatsite.com/widgets/awesomescript.js">. I am very new to Rails, been learning for only...
Clay Dennis replied

When I search for a movie it shows the json output
1
Javascript
Hai Chris
First of all it was a wonderful and useful video
When I search the keyword it open the result in json
where do i make mistak...
RandallGuerrero replied

"export 'default' (imported as 'Vue') was not found in 'vue'
0
Javascript
I'm following Chris' tutorial "Embeddable Javascript Comments Widget Models - Part 1" and I'm getting that error, any pointers on how to fix it? I'm running Rails 6.1.7.2 and my package.json looks...
Esteban Utz posted