Category "angular"

Angular material form field input - green border when input is valid

I am trying to change the border of a mat-form-field to green when the input is valid without overriding CSS classes and I was sure I am missing an easy trick.

ASP.NET Web API return excel file to client

I have C# api code as below. It work correct when i run on visual studio and deploy to iis server. I consume this api by javascript or Angualar on production Fr

How to get bearer token from auth0 Angular

How Should I get the Auth0 bearer token in Angular. I am currently using Auth0 SDK and AuthModule to set it up. @Injectable() export class TokenInterceptor impl

Validation inside FormGroup array for Select Angular

I'm having a FormGroup inside which I have multiple controls and one among the controls was Select. I could validate other controls for the required field but n

Ngx Pagination-Jump to Specific Page

I would like to create ngx pagination in angular 8 specifically jump to exact page. Ex Go To (Text box comes here) . I have 10 pages when user tries to enter 3

Best strategy for localizing a mixed application: Razor, Angular, Typescript, .NET and database layer

Our application is a mix of: Front-end: Asp .NET with Razor pages (parent application), and some Angular Pages (displayed in an iFrame) along with typescript.

How to get values from FormArray - Angular Reactive Forms

SectionService form this.form = this.fb.group({ siteDestinationSectionsList: this.fb.array([this.siteDestinationSectionsListGroup]), // removed rest

How to disable typing but allow copy and paste in a text box in Angular 8?

I want to restrict typing in a text box but I need to paste anything inside that textbox in Angular

Angular <p> displayed by *ngFor won't float to the right

I have this chat in which I'm trying to apply styles to the "chat-container". The messages are displayed with Angular's *ngFor as follows: <p *ngFor="let m o

Deep link works, but causes a menu to disappear

I have a deeplink in my app with ionic 5 and I'm using Firebase dynamic link with all configuration as assetlinks and others. The link allows me go to internal

Angular load file content once on startup

I am using Angular 5 & need some configuration data from a .json file before Angular startup. I tried using APP_INITIALIZER as below in app.module.ts const

How does one import a third party library to an Angular project?

I've got a project that needs to use a third-party custom library that was given for the project. How does one correctly use/integrate it? Do you have to import

Warning: Entry point 'angular-instantsearch' contains deep imports into '/node_modules/instantsearch.js/es/connectors

After installing these two package in my Angular application 13.0.3. I am receiving this below warning. "angular-instantsearch": "^4.1.0", ⠙ Generat

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