Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How do I redirect to an edit page with the ID as a query parameter after form submission in Next.js?

I'm building a book management application using Next.js. I have a form that collects book details and submits them using an asynchronous function (onSubmit). The form data is sent to an action.ts ...
JS3's user avatar
  • 1,849
0 votes
0 answers
9 views

Problem importing GLTF model in Three.js: Lights not working properly

I have been trying to import a GLTF model into Three.js, but I'm encountering several issues. When I import my scene with all the elements, the lights do not work as expected. The directional lights I ...
holman rugama's user avatar
-3 votes
2 answers
36 views

Filter items from array of objects that don't exist in other arrays

I have a multidimensional array that contains tuples: const arr = [ [[2, "a"], [4, "b"], [5, "c"]], [[2, "a"], [3, "b"], [4, "c"], [...
Alex's user avatar
  • 68.1k
1 vote
1 answer
35 views

JSON.parse fails with quotation in template literal

I'm using Editor.js (which saves the HTML blocks as JSON) to create content on my website and it works great unless there is a " in the JSON value. Data insertion works correctly, but when ...
Oliver's user avatar
  • 11
0 votes
0 answers
19 views

"Why doesn't `scrollIntoView()` work when clicking a search result to scroll to the corresponding product in the main list?"

React SearchBar: Scroll to Clicked Product Not Working I'm trying to create a search bar that filters products and scrolls to the selected product when clicked. However, the scrolling does not work. ...
Ar4scode's user avatar
0 votes
0 answers
14 views

How to toggle :root --color-scheme light/dark from pinia with vuetify?

I recently added custom light/dark color schemes to a Vuetify app and the user can toggle between them and that works well, except for one thing: the scroll bar color doesn't change. In browser dev ...
jrefior's user avatar
  • 4,431
0 votes
0 answers
15 views

Why react-native tiptop navigation doesn't work correctly on IOS platform?

I'm currently learning to work with React Native, and I'm a little stuck on the topic of navigation between pages. Specifically, I'm currently figuring out the "Top Tab Navigator". As you ...
Abraham Tuglas's user avatar
0 votes
0 answers
26 views

How to make a calendar with editable events (users can't access)

I am working on a project where I want to include a calendar with upcoming events and activities. I was able to find some code for a basic calendar, but I can't figure out how to add events to ...
Toby Kutz's user avatar
0 votes
0 answers
20 views

How can I change this code so that when the user clicks cancel on the pop up the link does not open?

I am extremely new to JavaScript but I am tackling a project to make a google chrome extension that detects when a user clicks a link and asks them whether or not they want to continue. The issue is ...
WillMoff's user avatar
0 votes
0 answers
19 views

HydrationError when using next-i18n with Next.js and TypeScript

I am trying to implement internationalization using react-i18n in my frontend application. The application uses TypeScript and Next.js. I have set up two languages, English and Finnish, along with a ...
Sergey's user avatar
  • 83
-1 votes
1 answer
24 views

Display list in several columns and keep the number of elements per column equal when their heights are different [duplicate]

I simply need to have an unordered list displayed in 3 columns, but without vertical alignment. Is there a way to remove the gap between the list element no. 2 and no. 5 in this example? I already ...
Setyl's user avatar
  • 678
0 votes
0 answers
21 views

Setting a default value on a dynamically generated selectlist

I'm working with an existing form that is HTML and Java. There is a single default selection available for "Transport Protocol" which is populated from an xml. I am wondering how to set the ...
Brent A.'s user avatar
0 votes
1 answer
32 views

How to pass an asynchronous handler function to a route

I am coding an express API and I want to use asynchronous functions in app.use() and app.get() methods. When I do so I get an error. My router: import { Router } from "express"; import ...
Maxime Arnould's user avatar
0 votes
0 answers
20 views

How to check if class exists after page load?

I want to target sdf-carousel-item that has an ID of "first" and only when class of "active" is present. However this is a carousel - so when the first slide is showing, the class ...
Schneider G's user avatar
-1 votes
0 answers
29 views

Error en la solicitud Matrix: cURL error 60: SSL certificate problem: unable to get local issuer certificate

I'm having a problem. when I try to make a request, sometimes when I perform a composer update or other actions, I get error curl 60. SSL issues. I've reviewed many posts about this problem and tried ...
José Vicente López Delgadillo's user avatar

15 30 50 per page
1
2 3 4 5
…
168795