Category "angular"

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

I want to be able to append the selected value from a mat-select to the text area below on click

I have been asked to do this project using Angular in work and honestly not touched Angular 2 before. I can do this no issue using jQuery but I am having troubl

Error: export 'control' (imported as 'L') was not found in '@raruto/leaflet-elevation' (module has no exports)

I have a angular application and need to use the custom leaflet package: https://github.com/Raruto/leaflet-elevation I am trying to use this in my application.

"Can't bind to (...)" and "(...) is not a known element" JS errors when Angular app rendered within a Liferay portlet

I have an Angular 9 app that I would like to make accessible via Liferay 7.x portlet. When I follow these steps, deploy my portlet and try to render it, I run i

Why does my Angular http.delete send "null" instead of null?

I have the following in my Angular service: this.$http.delete<void>(ApiDomain.superPlan, `/v1/Attendance?resultEventId=${resultEventId}&dueEventId=${d

upload image from Angular to aws s3 error: the image cannot be displayed because it contains errors

I'm trying to capture an image with the Android camera and upload it to an AWS S3 bucket. Using Angular 13 Ionic 6 and the Capacitor camera. Finally I got the i

How to update the source when use retrywhen RxJs

I'm doing a request to an API to create an order, it's probably got an error when trying to create the order with the same code because the method generateCode(

Angular Test: Mocking Viewchild projected component and observable property

I have the following code that I can't mock in my unit tests: @ContentChild(CarouselInfoComponent) carouselInfo: CarouselInfoComponent; @ContentChild(Carous

Dependent dynamic dropdown in Angular

I have a component(parent), where I am loading a single select option(Angular Material) and a multi select(Angular Material) option by an api call. I want to ha

How to send a ngfor object variable to a function

I have a *ngFor list for my categories and inside to list i wanna show subcategories list. subcategory data coming from firebase so i querying it with category_