Skip to main content

All Questions

0 votes
0 answers
31 views

Making a recurrence Rule for a calendar in Angular Calendar

I am using an Api of events to show on the app using angular-calendar library and I am a bit confused in making recurring events. Here are the events for example const eventData = { "code&...
Muhammad Junaid's user avatar
0 votes
0 answers
13 views

Angular applications, express.js server, sending an email via form on the front-end side

Error sending message: Object { headers: {…}, status: 500, statusText: "Internal Server Error", url: "http://localhost:3000/invia-email", ok: false, name: "HttpErrorResponse&...
Manuel Magi's user avatar
-1 votes
1 answer
109 views

npm i bootstrap command not working for install boostrap

npm i bootstrap command not working for installing bootstrap. Nothing added to packages.json file and to node_modules.` package.json dependencies: "dependencies": { "@angular/...
Ishani Samaraweera's user avatar
0 votes
0 answers
35 views

How to make proxy API requests to another server in angular-cli server

This is my proxy.config.ts file: { "/api": { "target": "http://localhost:3000", "secure": false } } This is my package.json file: "...
SRIKANTH KARTHIKEYAN's user avatar
0 votes
1 answer
163 views

Cannot find module '../../third_party/github.com/chalk/supports-color'

In my mytuoring-frontend-main project package.json { "name": "app-frontend", "version": "0.0.0", "license": "MIT", "scripts&...
Miracle's user avatar
5 votes
2 answers
2k views

self is not defined error when i am using jodti-react text edior in nextjs project

self is not defined error when i use jodti-react in nextjs project import React, { useState, useRef, useMemo } from "react"; import Dashborad from "./Dashborad"; import JoditEditor ...
Aman singh's user avatar
1 vote
2 answers
79 views

Regex to find even occurrence of a character in a string every time it repeats in a string in JavaScript

Regex to find even occurrence of a character in a string every time it repeats in a string Example: YYMMDD-YYYY-DD true YYMDD false Y,M,D are case sensitive Y,M,D can appear multiple time at multiple ...
unknown's user avatar
  • 13
0 votes
3 answers
2k views

Formatting the negative number input to positive number surrounding with braces using number format component

I have the below code on my current component. The requirement is when a user enters the negative number it should convert to positive number and surrounded with braces. For example if a user enters -...
vana's user avatar
  • 13
0 votes
0 answers
18 views

When I update document it create new document in mongodb using mongoose?

When I update any value on frontend it get update in mongodb except boolen value . when I update boolen value on frontend it create new document for that change in collection. below is my code snippet....
adnan ali's user avatar
1 vote
1 answer
657 views

Date format change in frontend

From backend I am getting an array of objects(leavedays)- var leavedays= [{"_id":"62d544ae9f22d","season":2022,"name":"LEAVEDAY1","...
Tina's user avatar
  • 11
0 votes
1 answer
3k views

Getting Error: TypeError: Cannot read properties of null (reading '0')

I want to upload an excel file for that I used ng-click and define the fileUpload($event) function in the app controller scope and with the help of xlsx I want to read the file in JSON but while ...
Tina's user avatar
  • 11
0 votes
0 answers
33 views

<A ng-href="#/about" tries to open /#!#%2Fabout on the browser instead of /#/about and fails

I am working on a single page angular web app using node.js as webserver to serve index.html In index.html I have this ng-href tag: <a ng-href="#/about">About</a> I ran the ...
BNKS1972's user avatar
4 votes
1 answer
1k views

What is constructor.constructor()() in JavaScript?

I'm bug hunting on h1 and I've found a way to trigger an alert box using constructor.constructor() on a site using Angularjs, Nodejs and other JavaScript libraries and I am looking to truly understand ...
Alvaro's user avatar
  • 105
1 vote
1 answer
3k views

Can't figure out how to use webpack's require.context()

I have an AngularJS with webpack project, and I want to import all the .js files in my project to webpack without adding the path of each file individually, so on the webpack docs I found this require....
Kevin Shibuya's user avatar
-1 votes
1 answer
62 views

subtract and add time having both negative and positive time in javascript

-12:00 - 5:30 => -6:30 -2:00 - 5:30 => 3:30 00:00 - 5:30 => -5:30 6:00 - 2:30 => 3:30 i want to subtract time having both positive and negative index let myCountries = [ { ...
Prithvirajsinh Jadav's user avatar

15 30 50 per page
1
2 3 4 5
256