Category "angular"

How can I add put inputs into a column? I have a ref down below of what I am trying to do

<mat-form-field appearance="standard"> <mat-label>Name *</mat-label> <input matInput [(ngModel)]="currentUser.username"> </ma

Why My custom colors are not working in my Angular material theme?

I trying to add more color to my angular material theme, I've added the success color in my style.scss by the map.deep-merge fucntion // Custom Theming for Angu

ERROR Error: Uncaught (in promise): FirebaseError: Firebase: Error (auth/argument-error). I already enabled my google sign in firebase. How can i fix

I'm trying to use google sign in from firebase in my ionic angular project, I follow the tutorial, the compilation was good but when i click the sign in button

provideMockStore with MockBuilder in ng-mocks

How to overrider the selector value in MockBuilder provided with provideMockStore In general with Testbed beforeEach(() => { TestBed.configureTestingModul

Angular MatStepper fails to recognize cached values from two str arrays (but successfully recognizes values from another str array)

I have a MatStepper that's used to navigate to the next page of a signup flow. I also have a method that loads values from a cache if it's available, and if so

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