306,833 questions
0
votes
0
answers
8
views
Firebase hosting not working for angular app
After lots of development locally using ng serve to interact with my angular app, I decided to add firebase hosting. After completing the setup, I clicked on the web link, which never loaded. Using '...
0
votes
0
answers
3
views
change map height and its zoom level dynamically in angular
I have a map div in angular component html:
<div id="map" [ngStyle]="{'height.px': mapHeight}"></div>
mapHeight is initialized to 600, and I have button that, once ...
0
votes
0
answers
12
views
Rolling back an angular 13 to 14 upgrade and now npm update fails - peer dependencies
I was performing an upgrade from Angular 13 to Angular 14 and ran into problems. I've reverted back to Angular 13, but now "npm update" reports peer dependency problems within the angular ...
0
votes
2
answers
35
views
Why won't the action value set in the state?
Given the following state
export const initialState: State = {
filters: {
typeahead: [],
},
cases: [] as CaseData[],
recordsReview: {} as DCMedicalRecordsReview,
...
1
vote
0
answers
17
views
How could I check if the URL/route in the browser is related to the path mask?
My goal is to try to create an ID rule that allows you to check in the HTML where it is within a category (id), it must mark the menu, this id is replicated for several different routes, but it has to ...
0
votes
0
answers
11
views
Angular Forms - No Data From Html Retrived
Hi there i have a problem with angular forms, i add simple list of forms to my html
<div class="tasks-section">
<h2>Zadania</h2>
<button type="...
0
votes
0
answers
25
views
JavaScript - Clearing a variable after receiving data [duplicate]
I have a http.get method that gets a number.
When http.get returns a number, I assign it to the variable �?totalPages’.
In the same method, I check if the value was assigned to this variable. Yes, the ...
-1
votes
0
answers
24
views
How to read JSON object in Angular v18 template file with unknown key
I am trying to read a JSON object containing list of unknown key in my template file (HTML) using Angular v18. But getting error stating Type 'JSON' is not assignable to Record<string, string | ((...
0
votes
0
answers
14
views
Automatic redirect to original url after authentication in identity sever4 and angular-oidc-client [closed]
In oidc-client providing signinRedirectCallback alternative in angular-oidc-client ?
In angular-oidc-client we have only authorize method
1
vote
1
answer
26
views
How to have a route guard that routes to an auxiliary route after passing?
I have a section of my Angular app that is only accessible through a generated link sent to the user's email (a Docusign type thing). It is sectioned off from the rest of the app via a feature module, ...
3
votes
1
answer
80
views
Error: "[plugin angular-browser-node-built-in] The package 'crypto' wasn't found on the file system" after updating to Angular 19
I recently updated my Angular project to version 19, and now I’m encountering the following error when building or serving the application:
[ERROR] The package "crypto" wasn't found on the ...
0
votes
0
answers
12
views
What's the pragmatic way to use an audio worklet in Angular?
I understand we can always load an audio worklet the native way (by using AudioContext.audioWorklet.addModule), but it requires us to write it in pure Javascript and handle dependency bundling ...
1
vote
1
answer
13
views
How do I fix my scrolling issue with Angular Material sidebar
My expected result:
Having a 'fixed' sidebar on the left side of the screen when on desktop which takes the full screen height and has a width of 226px.
On mobile there should be a toolbar available ...
1
vote
1
answer
40
views
Angular linked signal dependent on two other signals
In new Angular (19+) can I create linkedSignal that depends on two other signals?
In the example
import { signal, linkedSignal } from '@angular/core';
const sourceSignal = signal(0);
const ...
-1
votes
0
answers
14
views
Issue Integrating Monaco PromQL with Angular 11
I am trying to integrate Monaco PromQL into my Angular 11 project following the guidelines from the official documentation: Monaco PromQL Angular Integration.
Environment:
Angular Version: 11
...
0
votes
0
answers
22
views
Intermittent Issue with Checkboxes; Sometime Not Displaying in ag-Grid
we are experiencing an intermittent issue with checkboxes not displaying in ag-Grid on our website. The checkboxes are sometimes missing from the grid, Sometime it's not like all the rows are not ...
-1
votes
0
answers
28
views
Token getting called continuously while refreshing the browser
Stack:
Angular 17
Abp.io version 5.3
When I refresh the browser, from polyfill.ts, the token is getting called continuously. Not sure from where it is getting called.
I am not using angular from apbp....
0
votes
1
answer
33
views
What triggers the change detection in an angular application when calling markForChange() method outside of Zonejs?
I am using the following code inside my component's constructor. The component is using the OnPush change detection strategy. As we can see, setTimeout executes outside the Angular zone, meaning ...
1
vote
1
answer
25
views
Angular 18, mat-select binding not working with formControlName property
The Angular custom contol componet have following code
@Component({
selector: 'material-custom-control',
templateUrl: './material-custom-control.component.html',
styleUrls: ['./material-custom-...
1
vote
1
answer
32
views
Why does a new Angular 19 app error when executing ng add apollo-angular?
I'm trying to add apollo-angular to my Angular 19 project, but I'm getting the following output in the terminal:
We couldn't find 'esnext.asynciterable' in the list of library files
to be included in ...
1
vote
0
answers
21
views
My Angular Webapp doesnt reload view when array changed
I'm working on a clinic queue system, it loads an array with the doctors wait lists for that day, and whenever a patient gets to the office the name and turn number is removed.
The database on SQL ...
0
votes
0
answers
16
views
404 Page in Angular is not routable with localization (** can't be resolved)
I have an application built for (currently) two languages. German and English. I am also trying to Route some pages like about, home, login, etc... But I am facing one issue I just can't resolve. If ...
0
votes
1
answer
19
views
The ngx-scanner is not working in devices
I'm trying to use ngx-scanner (https://github.com/zxing-js/ngx-scanner) but after following the instructions it does not work. In PC is working but in other devices no (phone, tablet...). I have ...
2
votes
1
answer
45
views
How to detect if <html> tag has a class in child Angular component
I have a dynamic class which is applied on html tag when user presses the button to switch view to dark mode:
<html lang="en" class="app-dark-theme">
Now in child Angular ...
-1
votes
0
answers
25
views
Where is 'new BrowserWindow()' in Angular Electron application
I try to rewrite some apps to Electron (with Angular), but first question I faced is - "where is new BrowserWindow" function? I need modify this function, for example change "...
0
votes
0
answers
29
views
How to read Excel file in Typescript
I have been having trouble finding a great package to read an Excel file in Typescript. The best package that I have found through my research the exceljs package. However, it does not seem to work. ...
1
vote
1
answer
22
views
Label disappearing after reload
I have a frustrating bug where, when I select a value to filter something in my mat-table, the table is updated correctly, but when i reload a page, the set value goes back to default (which is ok) ...
0
votes
0
answers
15
views
Error in adding headless component to a page using ExperienceEditor
I am having sitecore 10.1 with headless implementation using Angular as frontEnd. I have frontEnd implementation of the component taken code and deployed to WWW root. When I add the component using ...
-2
votes
1
answer
25
views
Capacitor biometry unwanted call
We have CapacitorJS 6.0.0 Angular 18.2.2 app which uses capacitor-native-biometric 4.2.2.
During new version release Android version was/is fine but Testflight/iOS version since this release calls ...
2
votes
1
answer
22
views
agular guard completes before checking the value of ngrx selector
I have a guard which needs to check the value in ngrx selector before activating a route.
If no value in the state, then we need to navigate somewhere else.
I have two problems here.
First is that i ...
0
votes
0
answers
17
views
IntelliSense not working with extra libraries in Monaco Editor with Angular 17
I'm developing an Angular 17 application using the Monaco Editor with the ngx-monaco-editor-v2 package. While the editor works fine in TypeScript mode, I'm unable to get IntelliSense to recognize ...
1
vote
1
answer
36
views
update data charts js Angular
This is my typescript code:
public barChartData: ChartConfiguration<'bar'>['data'] = {
labels: [ '2006', '2007', '2008', '2009', '2010', '2011', '2012' ],
datasets: [
{ data: [ 65, 59, 80, ...
2
votes
1
answer
52
views
How to write unit test case for angular code
I am trying to to write test case for my angular project. I am using angular version 16.
Below is my code.
In my code I am not getting component.appRuleList and component.appRuleOptions values in my ...
1
vote
1
answer
26
views
`touched` member is not accessible when creating a reactive from using angular
<div class="container mt-5">
<!-- Form Title -->
<h1 class="form-title text-center">Tixsim</h1>
<!-- Form Section -->
<form [formGroup]=&...
0
votes
0
answers
25
views
TypeErrors when upgrading existing angular-calendar project to Angular 18
I'm upgrading an existing project to Ionic 8 and Angular 18. The project uses the angular-calendar component and was previously working fine. In the upgraded environment I am getting following errors:
...
-4
votes
0
answers
30
views
I got error, when I run ng serve with Angular CLI 16.1.8 and Node version (16.15.0)
I have been learning Angular for 2 weeks. I deleted the actual src file and paste the src file that contain source code of angular 16.1.8 and node 16.15.0 . I have also Angular CLI 16.1.8 and Node ...
2
votes
3
answers
45
views
Spring Boot integration with angular
Is there a way to run my backend Spring Boot project along with the Angular frontend, without starting a separate Angular server? Can I deploy the entire application on the backend server only?
1
vote
1
answer
35
views
receiving-error ERROR NullInjectorError:R3InjectorError(Standalone[_AppComponent])[markdownEditorConfig ->markdownEditorConfig ->markdownEditorConfig]
i am working on the angular cli 18 and want to implement angular-markdown-editor and I have followed the instructions on this link https://github.com/ghiscoding/angular-markdown-editorafter all the ...
0
votes
1
answer
30
views
How to Convert Dates from "Dec 01" to "2024-12-01" in amCharts5?
How to Convert Dates from "Dec 01" to "2024-12-01" in amCharts5?
I am using amCharts to create a dual-axis chart in Angular. The data I receive includes dates in the format "...
1
vote
2
answers
37
views
Angular Ngrx Store and APP_Initialiser
Hi I really am struggling with an issue.
We currently are using nrgx Store to essentially store data client side regarding information about the client side application. This is working great.
However ...
1
vote
0
answers
33
views
Create Dropdown menu with Angular Signal with default value and an extra option
I am not sure what's the proper way to set up the drop drop down options. the code I have is not working. please help. this is angular 18.
I have an array that is a computed signal, this is the ...
0
votes
2
answers
35
views
When printing a web page, how to make overflowing content print on multiple pages?
I'm working on an Angular project. I need to add printing support. The specific page that I need to print has, within it, a content div that is scrollable. When I print the page (using Chrome, Ctrl+P),...
0
votes
0
answers
45
views
Spring Boot Angular18 Uploading Photo
Hey Guys I'm trying to do Full-stack website by myself actually ı'm spring developer and ı try to learn angular let's have a look my problem my code is working but it is very slow ı upload photo the ...
2
votes
2
answers
42
views
Angular FormControlName vs NgModel Binding
I have a general question using Angular's FormgroupName or NgModel. The Docs I am reading say NgModel was deprecated in Version 6, but it is still available in 17/18, today's current version. The ...
1
vote
1
answer
27
views
Dropdown Option `<mat-option>` Not Visually Selected After Setting Value with `patchValue` in mat-autocomplete
Current Behavior:
When setting the value of the product form control via patchValue inside the getProducts method, the form control updates its value correctly. However, the corresponding <mat-...
-5
votes
0
answers
27
views
Can not get data from request. It returns 503 [closed]
i have a problem with spring boot and angular application, i describe it shortly, if u need more details just a comment. So i have few endpoints which works corectly, and one endpoint which returns ...
1
vote
1
answer
27
views
Need assistance with defining own Observable for validation of file upload in Angular 17
I'm following a tutorial for file upload in Angular 17, but in the tut, they use Observable.create, which is deprecated in Angular 17. I have read the docs on implementing the new system, but it does ...
0
votes
0
answers
31
views
Why DOM has not script tag?
I'm developing SSR application, and have a problem. <script> tag added programaticaly is exisits only in a server response, but it is not instert into the DOM. The script appears in DOM only ...
2
votes
1
answer
41
views
Ng-Select - Set multiple dropdown values
we are using NG-SELECT trying a create multiple forms with drop-down , we are trying to update the value of all dropdowns when one of the dropdown is updated but unable to find the correct node or ...
0
votes
2
answers
39
views
Creating web component / element in Angular does not work
I'm currently trying to create an Angular custom element / web component and integrate the web component in my ZK application. To start with an easy example, I just created a simple component that ...