Category "angular"

mat-checkbox doesn't render properly inside npx-graph in safari

Have an issue with mat-checkbox in safari and npx-grpah. as you can see below on the screens. this is chrome and on charts mat-checkbox appears properly in eve

Angular material: apply typography level to material component

I wanted to know if it is possible to apply a typography level to a specific material component from the scss theme. For example, apply the subheading-1 typogra

The "swiperight" event cannot be bound because Hammer.JS is not loaded

What is the proper configuration for HammerJS in Angular 10/11? We shouldn't import from 'hammerjs' anymore, instead, we should import HammerModule from @angula

Testing Reactive Forms in Angular with Karma

I am testing a function that has a reference to a form in it (this.form), so when I try to test it I am wondering how I can mock that form so the function has a

Angular - auth0 AuthHttpInterceptor not attaching token to requests

To cut a long story short, I am having problems with auth0's AuthHttpInterceptor class not actually attaching tokens to any outgoing requests. I have been follo

Angular npm start it is generating browser application bundles although the app is not in production

I am dealing with an unexpected change at the npm start which it makes the server of Angular very slow. During npm start it is coming Generating browser applcia

Primeng p-multiSelect search function is not working

I'm working with PrimeNg to filter columns on my p-table. I have p-multiSelect nested inside a p-ColumnFilter. The filtering is working as expected, however the

ng2-pdf-viewer - does not display automatic pdf

I have an angular application 8 that I receive a pdf file from the API. In the angle view, I took the pdf file as a blob and converted it into a FileReader to u

How to pass data from parent to child in template driven form

My problem is with Template Driven Forms. I have two components (parent and child) and I want to pass default values for controls inside child component. In chi

Property 'dateComponentFramework' does not exist on type 'GridOptions

I am trying to use some code in Angular 13 when using AG Grid Version 27.2.1 and i am trying to assign some Date Option to my grid.In AG Gris 25.01 this was stl

File upload in a nested json object having multipart file in Angular 6

Hi I am facing problem in uploading file in a object(body:DataSet) while submitting. My classes are as below: export class DataSet implements IDataSet { Id?: nu

Cancel File Upload: Multer, MongoDB

I can't seem to find any up-to-date answers on how to cancel a file upload using Mongo, NodeJS & Angular. I've only come across some tuttorials on how to de

Sending Multiple Post Request in Parallel on Angular

I have to Send Multiple Post request with same URL but different payload and to check status of each request, if its failed or success. and then i want to check

BindCallback observable never get next value, while manual bind works

using google.maps.places.PlacesService and the getDetails query the method signature is (method) google.maps.places.PlacesService.getDetails( request: goo

Extending Angular DatePipe errors in Angular 11, worked in Angular 10

Originally, I had a simple extension to the DatePipe to transform a date value from our standard (YYYYMMDD format) so that the DatePipe in Angular could then us

How to make a method that finds every object by id in angular

Please help, I want to make a method findChildByIdInShop(shop:any, childId:string) where the shop is any JSON main node that has children with Ids. Simply, how

How to read a csv file sychonously in angular 7 [duplicate]

I am trying to read a file csv located on the web synchronously. Given the following code export class AppComponent implements OnInit { nam

Adding Google authentication to ASP.NET with Angular Visual Studio template

I have a project that I created with the ASP.NET with Angular Visual Studio template with the individual accounts authentication type. I then added Google authe

Property 'randomUUID' does not exist on type 'Crypto'

I was trying to use crypto.randomUUID in my angular app v13.1, but it seems not to be available. Gives us this error if you try: TS2339: Property 'randomUUID'

Error 10 in Google Login plugin for Ionic/Angular/Cordova

I'm quite new to all that technologies, but trying to develop an android app with Ionic 6 and Angular 9, compiling with Cordova and publishing in Google Play. E