Category "angular"

NZ-Table of NG-Zorro doesn't show any data

I'm developing a page where I use a table from ng-zorro, I get the data from an API, but after I filtered the Data the table just show the "No data" display, no

Ionic and Amplify Storage GRAPHQL_AUTH_MODE Error

My current setup is: Ionic, Angular, AWS Amplify (GrapghQl, DynamoDB, Authenticator, and Storage) I had everything working until I added Storage following the i

"Error: ENOENT: no such file or directory, lstat" for dist folder

I am using Angular 13 and the command "ng add ngx-bootstrap" installed the following: "bootstrap": "^5.1.3", "ngx-bootstrap": "^8.0.0", Now it fails to find the

NGXS global state's slices emit on every navigation

After tracking down unexpected requests being made I've found that my app's global user state's slices emit upon every navigation. What are potential causes of

Clear C# String from memory - Angular

I'm trying to clear the memory contents of a C# string for security reasons. I am using a ngmodel to have the user enter their username and password, once I hav

Store Object with Angular Autocomplete, not only Value in Input

Working on Angular, I created an Input with mat-autocomplete and mat-option (data comes from an Object Array, using NgFor). Properties of Object are ID, name an

mat-select is not level A compliant according to AInspector WCAG

I'm using Angular material in my website and trying to make it WCAG level A compliant. Doing some checks with the AInspector (extension for Firefox) seems the m

Angular Proxy to .net Core backend works every other time

Running into some weird stuff.. Trying to hit my api from my angular app. Since We need to use windows authentication we need to setup a proxy.conf for angular

Error: export 'ɵCssKeyframesDriver' (imported as 'ɵCssKeyframesDriver') was not found in '@angular/animations/browser'

After upgrading my Angular from 12.0.2 to 13.0.3 everything was working fine. I was trying to remove some packages that was not used such as jquery, and some ot

How to store hue from primary color pallete in global variables in angular material?

I am extracting 500 hue from primary pallete and I want to store that hue in global scss variable so that I can use it anywhere. But it is not working. My code:

Module not found: Error: Can't resolve 'trusted-types' in '' angular

getting Module not found: Error: Can't resolve 'trusted-types' installed trusted types using this command npm i @types/trusted-types --force. and npm install t

Angular module federation on azure app service

I’m creating a website with webpack federation module. For this I have 3 projects out of 3 different git repos. So I have 3 here in azure devops. My quest

Cannot access a directive before initialization. Reference error

I have an Angular module with a static function called forRoot() that receives an object as a parameter and a service with a parameter in the constructor called

How to map a subarray

I am using a sample I found online to map a subarray and can't seem to get it to work. import { Component, OnInit } from '@angular/core'; @Component({ select

How to make existing angular application "fully strict" step by step?

I have an existing Angular Application that started development at the time of Angular 4, now it's on Angular 12. But at the time of development, the strict mod

Can't import the named export 'Directive' from non EcmaScript module (only default export is available)

this is a ionic angular project that i'm working on, i'm using ng-lazyload-image plugin Link. when i start compiling it showing errors like this. Error: ./node_

Angular 13 routing not working showing new route component below previous comopnent

In Instructions component when we click on Submit routes it to Confirmation component. But on UI it is showing instructions component and confirmation componen

access DOCUMENT in useFactory

I want to inject @Inject(DOCUMENT) in factory. How to inject it since it is not service therefor I can't add it in deps. // import { DOCUMENT } from '@angular/c

@nestjs/swagger cant be used with angular

We have a monorepo with nestjs, angular and libs. In one of those libs we defined all DTOs and some of them use mapped-types from @nestjs/swagger like OmitType

Right align buttons inside flex

How can I align the buttons on the right hand side to the right (the right side of the orange box in the image)? [Visual of the button element not aligned to th