362 questions
2 votes
1 answer
116 views
AuthGuard is not working in my angular 15 application
I am trying to set AuthGuard for a user details component page. Without login user details page can not see. I am storing login details in localStorage. If i add AuthGuard to user details component my ...
3 votes
2 answers
129 views
Upgrading Angular 14 to Angular 15 throws error on build
Build was successful, but after the installation and update of Angular 15, it started throwing multiple error. For example: Error: src/app/shared/components/content/reports/sales/partywise-order/...
0 votes
0 answers
161 views
Customize Angular Material Components using mixins to fit my UI
We (my team) recently upgraded our Angular to Version 15, and we have had many problems due to MDC- changes. My work is to upgrade our components library to be MDC based. I noticed all the mixins ...
0 votes
1 answer
349 views
Need alternative approach to read environment variables on runtime in angular
I have angular applications lib (this contains __environments, assets and common css, services etc) app_1 both are run independently and lib is published into a npm package and increment the version ...
0 votes
0 answers
24 views
TinyMCE + Firefox IME (Phonetic Input) Cursor Not Moving After Space on CompositionEnd
I’m using TinyMCE as a rich text editor in my web application. When typing with phonetic/IME input (like Hindi, Kannada, etc.) in Mozilla Firefox, I encounter an issue: After completing a word using ...
2 votes
1 answer
405 views
Does Tailwindcss v4.1 support Angular v15?
I tried using Tailwind CSS v4.1 in an Angular v15 based application, but it doesn't seem to work. However, Tailwind CSS v3.4 works fine with Angular v15. Is Tailwind CSS v4.1 compatible with Angular ...
3 votes
0 answers
75 views
Persistent NG04002 ("No matching route found") navigating from lazy-loaded to eager route (Angular 15.2.9)
I'm facing a persistent routing issue in my Angular application (version 15.2.9) after refactoring some features into lazy-loaded feature modules. The error NG04002 ("Error: NG04002 Error: ...
0 votes
1 answer
360 views
Error uploading files to AWS S3 from Angular 15 with AWS SDK v2.1692.0: "Cannot find name 'Buffer'"
I've been using a block of code to upload images and documents from my Angular 8 application to my bucket in AWS S3 using "aws-sdk; v2.1237.0", which has been working fairly well without ...
-3 votes
1 answer
98 views
Rewrite A Code Snippet Instead of For Loop
I've the following data format in jSon: [ { "id": 648302, "newArrGroups": [ { "groupId": 660, "newArrGroups": [] } ] ...
0 votes
0 answers
84 views
Auto Fill Row On Content Length
I've shifted to ExcelJs from Sheet JS as I didn't find the option to adjust row values in each column. I've managed to do it with ExcelJs but still there's one issue that I am trying to resolve. So ...
0 votes
1 answer
72 views
Check Array Contains A Property and Bind It To A New Array
I've an array that I am binding as follows: const newdata = json.map((c) => { return { "User Name": c.userName, Email: c.email, Groups: c.newArrGroups.map(a => a.name)...
1 vote
0 answers
1k views
"Unable to install [email protected] with Angular 15 due to dependency conflict"
I am working on an Angular project with version 15.2.10, and I need to install the ng-apexcharts library, specifically version 1.7.6, to use ApexCharts in my application. The Problem When I try to ...
0 votes
1 answer
55 views
Receive Data Stream At Once With Service Call
I've a backend controller with C# that takes two parameters to return data for user permission. This works for one user at a time, now I've a scenario to use the same controller to return data of ...
0 votes
2 answers
96 views
Add Comma After Each Space
I am trying to add an event in a textarea to put commas after each space. As an example: Input 1: 2 2 2 2 Output 1: 2,2,2,2 or 2, 2, 2, 2 Input 2: 2 2 2 2 2 2 Output 2: 2,2,2,2,2,2 or 2, 2, 2,...
1 vote
1 answer
78 views
Array Gets Replaced With New Values
I've an array which gets populated when I change values in drop down boxes. So I've four drop down boxes with the same event as follows (The drop down boxes are dynamic ones that comes from a service):...