Category "angular"

Why do I receive data not on 1st click but on 2nd click in Angular?

There are multiple modules (for example career, departments, and many more) in which I receive data from SQL server through stored procedure (Select query), int

Mat-Option selected option based on patch value from api subscription

In my case i have several controls with mat-autocomplete with mat-options. in which the same form is handled for new entry creation and edit an existing entry d

How to get only one question to the preview page in survey management website in angular?

I am using querystring to h=get the questions on preview page but I am not able to get one question on 1st page and 2nd on another page after clicking next butt

How to make an angular page scrollable

I'm working on an Angular project in which I'm creating a form using the ionic-framework components. <ion-content> <form> <ion-item lines="

@Host() or ng-container incompatibility between angular 9 and 10

Here are two live examples on stackblitz: angular 9 angular 10 To check the difference between them, open console and notice that: In form-error-control-name.di

Edit value for a key in a Map in Angular

I have a model that uses a Map for eg: (I also have other properties such as Name) export class User { _id!: string; accounts!: Map<String,Number>

How can I delete a row by its SKU instead of its ID?

I try to delete the row using the sku of the product. I'm using spring boot and angular. I got an error when I added the sku on my button like this one (click)

How to show popup on mouse hover of marker in ngx-mapbox-gl

I am currently showing markers and popups on click of markers. We have a requirement now to show popups on hover. my template is like below : <mgl-map #map1

npm install -g @ionic/cli Unexpected token '.'

I want to install ionic 6 on my system. I have installed multiple versions of npm on my system using nvm . nvm ls D:\<user_name>\Projects\Ionic-6>nvm l

Build a dynamic interface for Object in angular

I have an JSON Object received from an api call and the Object will have multiple values but all of type string. How to I write an Interface for such an Object

how to use npm install's --force flag during Visual Studio publish process?

I have an Angular project in Visual Studio, along with a publish profile to publish to IIS. I've been successfully using this process in this project for some t

Create a custom table similar to primeng table

In our project earlier we used p-table from primeng. Now we try to create a custom one. So, I want to create a custom table similar to https://www.primefaces.or

in angular how to submit form on click on radio button

I'm using angular 13 for my project. I want to submit a feedback form by using the radio button. I don't want to give a specific button for submission.

What is best way to go about replacing 'deployUrl' in angular.json for v13?

I'm currently in the process of upgrading my app from v12 to v13 and noticed this warning pop up: Option "deployUrl" is deprecated: Use "baseHref" option, "APP_

How to call the same angular component multiple times using querySelector

So I have a component called custom-modal.component. The HTML file looks like this: <dialog id="custom-modal"> <ng-content></ng-content> <

I can not subscribe on mergeMap observable in angular 13

I want to implement a connexion senario based on Roles in angular. When the user click on CONNEXION button after filling in the form ( username - password), two

How can I stop Apache tomcat to log 404 errors in Application Insights? GET/* Error

I have deployed an angular application in a Tomcat app server in Azure App Service. In order to enable fallback into index.html I included a web.xml file inside

Google Cloud Compute Engine http Connection Timeout

I have setup a compute engine VM with 2vCPU and 2GB RAM.I have setup nginx server and setup the firewalls permissions as shown in the diagram. When I try to acc

How to save to local storage using Ngrx?

I am trying to save a simple menu state whether it is 'open' or 'close' to the browser localStorage. I know I can do it by using localStorage.setItem. But, my p

Is there a way using store inside a static method?

I need to dispatch an action inside a static function. Is there a way to do this and is it a good practice?