Category "angular"

How to distinguish two mat-table (Angular UI) in same component

I use two mat-table in the same component and now renderRows() not working for the second table. @ViewChild(MatTable) tagsTable: any; @ViewChild(MatTable) s

Can't use transform: scale() in Angular animation without Experimental Web Platform features enabled - how to fix this for hosted site

This issue is only on Chromium browsers. Whenever I use a style with transform: scale() in an Angular or a css keyframes animation and I do not have the Chrome

How to disable angular detection for assets folder

Am developing an angular application with spring boot as a back end, i wanted to make an upload to a local stockage in my PC. I made a Stockage folder in the as

How to show changelog of Angular PWA

I have an Angular PWA App with angular 13. every works very well. But I thought it would be nice if I show the user a changelog of the new version. But I don&rs

Cannot debug in chrome dev tool when setting on "optimization": true in angular.json

When i set optimizations = true in angular.json, we encounter issues while debugging in chrome devtools and Breakpoints aren't hit , or on the wrong line(s) in

i get the Data just in subscribe bracket [closed]

This is My Code: getTransaction(transactionRef: string){ this.partnerportalService .getTransaction(transactionRef) .subscr

Angular - Error: initial exceeded maximum budget. Budget 5.00 MB was not met by 197.06 kB with a total of 5.19 MB

When I was building my Angular-12 peroject I got this error: Error: initial exceeded maximum budget. Budget 5.00 MB was not met by 197.06 kB with a total of 5.

Dynamic Angular Forms on User Interaction

I have a dropdown that the user uses to switch between different Angular forms. HTML <form [formGroup]="evalForm"> <mat-form-field appearance="fill

How to handle null case in Angular?

This my html code and below in my ts code , <div id="address" class="bg-light rounded mt-3"> <div class="h5 font-weight-bold text-prim

ERROR Error: Cannot find control with name: 'educationDetails'

I am trying to implement Form Array in custom multi-step form using Angular-12. Component: export class ProfileEditComponent implements OnInit { isLinear

set arrow with tooltip of matTooltip angular material

in angular material it provide matTooltip attribute to show tooltip . i want to show arrow with tooltip pointing towards overflow text. but tooltip position is

How to add badge next to icon in ag grid

How do I add a badge to an icon that is being displayed in AG Grid using cell renderer: I've tried this so far in my grid config: cellRenderer: function(context

testing directive with jasmine

I have this directive but Im struggling with the jasmine test for it, any ideas? import { Directive, Output, EventEmitter, HostListener } from '@angular/core';

Type 'Observable<ArrayBuffer>' is not assignable to type 'Observable<Date[]>'

consultar ( opcion: string, articulo: Articulo ): Observable<Date[]> { return this.http.get<Date[]>( this.rootUrl + "consultar?opcion=" + opci

how to set labeloffset dynamically in chart Js

I am using Chart.js, I have to generate stack bar chart based on fromMonth to toMonth selection. My bar chart option is: { "chartCanvasHeight": "200", "char

Angular MIME issues in Edge

I'm running into an issue with Angular where if I ng serve and deploy on localhost, the page loads fine. However if I use ng build and deploy remotely, I then g

Angular Material table filtering out all results when input is initially blank, will work after typing into input Only

So my table works really well, except that it shows no data until either a row is clicked or the filter is used. I am unsure as to what is going on here, not su

how can i validate data in dd-mm-yyyy format

I have the following date "13-05-2022" if (!validateDate(this.formGeral.value.data.singleDate?.formatted)) { this.errors.push('Data com formato inváli

I am trying to host a project I built on two separate repositories

I have a MEAN stack project that is built on two separate repositories. The backend is using Node.js and handles all API routing to MongoDB Atlas. If i wanted t

Using Webpack 5's Module Federation, is it possible for the shell written in react to host or load an angular component?

We're creating a web app written in Angular that will be embedded/loaded from another web app written in React. I'm not sure if this will work using webpack 5's